Skip to content

Commit 7987bbb

Browse files
committed
Narrow PSR cache test doubles
1 parent 5044cfc commit 7987bbb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tests/Psr16TagVersionStoreTest.php‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function testCorruptedGenerationIsReplacedInsteadOfFallingBackToZero(): v
4343

4444
$versions = $store->versions(['product:42']);
4545

46-
self::assertIsInt($versions['product:42']);
4746
self::assertGreaterThan(0, $versions['product:42']);
4847
self::assertSame($versions['product:42'], $cache->storedValue);
4948
}
@@ -114,6 +113,9 @@ public function getMultiple(iterable $keys, mixed $default = null): iterable
114113
return [];
115114
}
116115

116+
/**
117+
* @param iterable<string, mixed> $values
118+
*/
117119
public function setMultiple(iterable $values, null|int|DateInterval $ttl = null): bool
118120
{
119121
return true;

0 commit comments

Comments
 (0)