You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -56,7 +58,7 @@ class Psr6Store implements Psr6StoreInterface
56
58
private$cache;
57
59
58
60
/**
59
-
* @var Factory
61
+
* @var Factory|LockFactory
60
62
*/
61
63
private$lockFactory;
62
64
@@ -141,10 +143,16 @@ public function __construct(array $options = [])
141
143
thrownewMissingOptionsException('The cache_directory option is required unless you set the lock_factory explicitly as by default locks are also stored in the configured cache_directory.');
@@ -225,7 +226,7 @@ public function testWriteStoresEntries()
225
226
226
227
$entries = $cacheItem->get();
227
228
228
-
$this->assertInternalType('array', $entries, 'Entries are stored in cache.');
229
+
$this->assertTrue(\is_array($entries), 'Entries are stored in cache.');
229
230
$this->assertCount(1, $entries, 'One entry is stored.');
230
231
$this->assertSame($entries[Psr6Store::NON_VARYING_KEY]['headers'], array_diff_key($response->headers->all(), ['age' => []]), 'Response headers are stored with no age header.');
231
232
}
@@ -389,7 +390,7 @@ public function testLookupWithVaryOnCookies()
0 commit comments