diff --git a/composer.json b/composer.json index cbfd676..6796970 100644 --- a/composer.json +++ b/composer.json @@ -20,12 +20,12 @@ }, "require-dev": { "nette/tester": "2.5.3", - "phpstan/phpstan": "1.11.5", + "phpstan/phpstan": "1.11.8", "phpstan/phpstan-strict-rules": "1.6.0", - "phpstan/phpstan-nette": "1.3.1", + "phpstan/phpstan-nette": "1.3.3", "nepada/phpstan-nette-tester": "1.2.0", "spaze/phpstan-disallowed-calls": "3.4.0", - "shipmonk/phpstan-rules": "3.0.0", + "shipmonk/phpstan-rules": "3.1.0", "php-parallel-lint/php-parallel-lint": "1.4.0", "nepada/coding-standard": "7.14.0", "nette/di": "^3.0.6@dev", diff --git a/src/Bridges/BustCacheDI/BustCacheExtension.php b/src/Bridges/BustCacheDI/BustCacheExtension.php index 3cdc2e0..f63ec0e 100644 --- a/src/Bridges/BustCacheDI/BustCacheExtension.php +++ b/src/Bridges/BustCacheDI/BustCacheExtension.php @@ -81,7 +81,7 @@ public function loadConfiguration(): void $container->addDefinition($this->prefix('cacheBustingStrategy')) ->setType(CacheBustingStrategy::class) - ->setFactory(self::CACHE_BUSTING_STRATEGIES[$this->config->strategy]); + ->setFactory(self::CACHE_BUSTING_STRATEGIES[$this->config->strategy]); // @phpstan-ignore shipmonk.unsafeArrayKey (pre-validated string config value) $container->addDefinition($this->prefix('cache')) ->setType(Cache::class)