Skip to content

Commit c2a82a4

Browse files
committed
ignore specific error
1 parent 7d515fd commit c2a82a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PsrValidationCacheAdapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function isValidated(Schema $schema, DocumentNode $ast): bool
3030
{
3131
try {
3232
$key = $this->buildKey($schema, $ast);
33-
/** @phpstan-ignore-next-line */
33+
/** @phpstan-ignore missingType.checkedException */
3434
return $this->cache->has($key);
3535
} catch (\Throwable $e) {
3636
return false;
@@ -44,7 +44,7 @@ public function markValidated(Schema $schema, DocumentNode $ast): void
4444
{
4545
try {
4646
$key = $this->buildKey($schema, $ast);
47-
/** @phpstan-ignore-next-line */
47+
/** @phpstan-ignore missingType.checkedException */
4848
$this->cache->set($key, true, $this->ttl);
4949
} catch (\Throwable $e) {
5050
// ignore silently

0 commit comments

Comments
 (0)