Skip to content

Commit 2f635c5

Browse files
Clarify ETag expiry return contract
1 parent bfc18fe commit 2f635c5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/EtagCachePlugin.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public static function serverCache(CacheItemPoolInterface $pool, StreamFactoryIn
4141
return new self($pool, $streamFactory, $config);
4242
}
4343

44+
/**
45+
* @return int
46+
*/
4447
protected function calculateResponseExpiresAt(?int $maxAge)
4548
{
4649
return 0;

0 commit comments

Comments
 (0)