Skip to content

Commit b67dbe2

Browse files
k0kagreg0ire
andauthored
Update tests/Cache/CachingResultTest.php
Co-authored-by: Grégoire Paris <[email protected]>
1 parent 79b944a commit b67dbe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Cache/CachingResultTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function setUp(): void
4040
$this->cache = $this->createMock(Cache::class);
4141
$this->cache->expects(self::exactly(1))
4242
->method('save')
43-
->willReturnCallback(function ($id, $data, $ttl): void {
43+
->willReturnCallback(function (string $id, $data, int $ttl): void {
4444
$this->assertEquals($this->cacheKey, $id, 'The cache key should match the given one');
4545
$this->assertEquals($this->lifetime, $ttl, 'The cache key ttl should match the given one');
4646
$this->cachedData = $data;

0 commit comments

Comments
 (0)