Skip to content

Commit

Permalink
Ignore false positive PHPStan error
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Aug 3, 2024
1 parent 7fb0086 commit ba5bcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/BustCacheDI/BustCacheExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ba5bcca

Please sign in to comment.