diff --git a/Model/RedisInfo.php b/Model/RedisInfo.php index 3ad9d06..4f452dc 100644 --- a/Model/RedisInfo.php +++ b/Model/RedisInfo.php @@ -7,6 +7,7 @@ namespace Element119\AdminRedisReport\Model; +use Cm_Cache_Backend_Redis; use Element119\AdminRedisReport\Api\Data\RedisReportInterface; use Element119\AdminRedisReport\Api\RedisReportRepositoryInterface; use Magento\Framework\App\CacheInterface; @@ -19,10 +20,12 @@ class RedisInfo implements ArgumentInterface { private CacheInterface $cache; - private Redis $redis; private DeploymentConfig $deploymentConfig; private ResourceConnection $resourceConnection; + /** @var Redis|Cm_Cache_Backend_Redis */ + private $redis; + public function __construct( CacheInterface $cache, DeploymentConfig $deploymentConfig,