@@ -11,6 +11,9 @@ discard block |
||
11 | 11 | |
12 | 12 | namespace Chrisyue\PhpM3u8\Loader; |
13 | 13 | |
14 | +/** |
|
15 | + * @param string $uri |
|
16 | + */ |
|
14 | 17 | function file_get_contents($uri) |
15 | 18 | { |
16 | 19 | return 'hello world'; |
@@ -55,6 +58,12 @@ discard block |
||
55 | 58 | $this->assertEquals($loader->load($uri), $content); |
56 | 59 | } |
57 | 60 | |
61 | + /** |
|
62 | + * @param string $uri |
|
63 | + * @param boolean $isHit |
|
64 | + * @param string $content |
|
65 | + * @param integer $expiresAfter |
|
66 | + */ |
|
58 | 67 | private function prophesizeCachePool($uri, $isHit, $content, $expiresAfter) |
59 | 68 | { |
60 | 69 | $cachePool = $this->prophesize('Psr\Cache\CacheItemPoolInterface'); |