diff --git a/composer.json b/composer.json index 8deb44cce..bd2527883 100644 --- a/composer.json +++ b/composer.json @@ -37,6 +37,7 @@ "phpstan/phpstan-nette": "^0.12" }, "conflict": { + "nette/caching": "<3.1", "nette/di": "<3.0.7", "nette/forms": "<3.0", "nette/schema": "<1.1", diff --git a/src/Bridges/ApplicationLatte/TemplateFactory.php b/src/Bridges/ApplicationLatte/TemplateFactory.php index 0e2529c7a..8bf800e6e 100644 --- a/src/Bridges/ApplicationLatte/TemplateFactory.php +++ b/src/Bridges/ApplicationLatte/TemplateFactory.php @@ -33,7 +33,7 @@ class TemplateFactory implements UI\TemplateFactory /** @var Nette\Security\User|null */ private $user; - /** @var Nette\Caching\IStorage|null */ + /** @var Nette\Caching\Storage|null */ private $cacheStorage; /** @var string */ @@ -44,7 +44,7 @@ public function __construct( LatteFactory $latteFactory, Nette\Http\IRequest $httpRequest = null, Nette\Security\User $user = null, - Nette\Caching\IStorage $cacheStorage = null, + Nette\Caching\Storage $cacheStorage = null, $templateClass = null ) { $this->latteFactory = $latteFactory;