Skip to content

Commit

Permalink
SPRY-3032 Update CacheManagerGuiDependencyProvider to ignore undefine…
Browse files Browse the repository at this point in the history
…d method error in PHPStan.
  • Loading branch information
HaukeBST committed May 22, 2024
1 parent d47c4f3 commit 1f4d306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function provideBusinessLayerDependencies(Container $container): Containe
private function addCacheManagerFacade(Container $container): void
{
$container->set(static::FACADE_CACHE_MANAGER, function (Container $container) {
return $container->getLocator()->cacheManager()->facade();
return $container->getLocator()->cacheManager()->facade(); // @phpstan-ignore method.undefined
});
}
}

0 comments on commit 1f4d306

Please sign in to comment.