Skip to content

Commit

Permalink
SPRY-3032 Fix phpstan-ignore annotations for method not found errors …
Browse files Browse the repository at this point in the history
…in CacheManager and CacheManagerGui dependency providers.
  • Loading branch information
HaukeBST committed May 22, 2024
1 parent 179c656 commit 9dc92b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected function addStorageClient(Container $container): void
{
$container->set(
self::CLIENT_STORAGE,
fn (): StorageClientInterface => $container->getLocator()->storage()->client(), // @phpstan-ignore method.undefined
fn (): StorageClientInterface => $container->getLocator()->storage()->client(), // @phpstan-ignore method.notFound
);
}
}
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(); // @phpstan-ignore method.undefined
return $container->getLocator()->cacheManager()->facade(); // @phpstan-ignore method.notFound
});
}
}

0 comments on commit 9dc92b2

Please sign in to comment.