@@ -39,6 +39,7 @@ public function __construct(
3939 public function get (string $ key ): ?DiscoveryResult
4040 {
4141 /** @var DiscoveryResult|null $result */
42+ // @phpstan-ignore method.notFound
4243 $ result = $ this ->simpleCache ->get ($ this ->prefix . $ key );
4344
4445 return $ result instanceof DiscoveryResult ? $ result : null ;
@@ -47,6 +48,7 @@ public function get(string $key): ?DiscoveryResult
4748 #[\Override]
4849 public function set (string $ key , DiscoveryResult $ result , int $ ttl = 3600 ): void
4950 {
51+ // @phpstan-ignore method.notFound
5052 $ this ->simpleCache ->set (
5153 $ this ->prefix . $ key ,
5254 $ result ,
@@ -57,6 +59,7 @@ public function set(string $key, DiscoveryResult $result, int $ttl = 3600): void
5759 #[\Override]
5860 public function delete (string $ key ): void
5961 {
62+ // @phpstan-ignore method.notFound
6063 $ this ->simpleCache ->delete ($ this ->prefix . $ key );
6164 }
6265
@@ -65,12 +68,14 @@ public function clear(): void
6568 {
6669 // PSR-16 clear() clears everything — not ideal.
6770 // Prefer iterating known keys if the cache supports it.
71+ // @phpstan-ignore method.notFound
6872 $ this ->simpleCache ->clear ();
6973 }
7074
7175 #[\Override]
7276 public function has (string $ key ): bool
7377 {
78+ // @phpstan-ignore method.notFound
7479 return $ this ->simpleCache ->has ($ this ->prefix . $ key );
7580 }
7681}
0 commit comments