We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79b944a commit b67dbe2Copy full SHA for b67dbe2
tests/Cache/CachingResultTest.php
@@ -40,7 +40,7 @@ protected function setUp(): void
40
$this->cache = $this->createMock(Cache::class);
41
$this->cache->expects(self::exactly(1))
42
->method('save')
43
- ->willReturnCallback(function ($id, $data, $ttl): void {
+ ->willReturnCallback(function (string $id, $data, int $ttl): void {
44
$this->assertEquals($this->cacheKey, $id, 'The cache key should match the given one');
45
$this->assertEquals($this->lifetime, $ttl, 'The cache key ttl should match the given one');
46
$this->cachedData = $data;
0 commit comments