@@ -93,7 +93,7 @@ private function createResponseCache(?CacheConfig $cacheConfig = null): Response
9393 return (new ResponseCache ($ cacheConfig , $ cache ))->setTtl (300 );
9494 }
9595
96- public function testCachePageIncomingRequest ()
96+ public function testCachePageIncomingRequest (): void
9797 {
9898 $ pageCache = $ this ->createResponseCache ();
9999
@@ -131,7 +131,7 @@ public function testCachePageIncomingRequest()
131131 $ this ->assertNull ($ cachedResponse );
132132 }
133133
134- public function testCachePageIncomingRequestWithCacheQueryString ()
134+ public function testCachePageIncomingRequestWithCacheQueryString (): void
135135 {
136136 $ cacheConfig = new CacheConfig ();
137137 $ cacheConfig ->cacheQueryString = true ;
@@ -169,7 +169,7 @@ public function testCachePageIncomingRequestWithCacheQueryString()
169169 $ this ->assertNull ($ cachedResponse );
170170 }
171171
172- public function testCachePageIncomingRequestWithHttpMethods ()
172+ public function testCachePageIncomingRequestWithHttpMethods (): void
173173 {
174174 $ pageCache = $ this ->createResponseCache ();
175175
@@ -189,7 +189,7 @@ public function testCachePageIncomingRequestWithHttpMethods()
189189 $ this ->assertNull ($ cachedResponse );
190190 }
191191
192- public function testCachePageCLIRequest ()
192+ public function testCachePageCLIRequest (): void
193193 {
194194 $ pageCache = $ this ->createResponseCache ();
195195
@@ -217,7 +217,7 @@ public function testCachePageCLIRequest()
217217 $ this ->assertNull ($ cachedResponse );
218218 }
219219
220- public function testUnserializeError ()
220+ public function testUnserializeError (): void
221221 {
222222 $ this ->expectException (ErrorException::class);
223223 $ this ->expectExceptionMessage ('unserialize(): Error at offset 0 of 12 bytes ' );
@@ -243,7 +243,7 @@ public function testUnserializeError()
243243 $ pageCache ->get ($ request , new Response ($ this ->appConfig ));
244244 }
245245
246- public function testInvalidCacheError ()
246+ public function testInvalidCacheError (): void
247247 {
248248 $ this ->expectException (Exception::class);
249249 $ this ->expectExceptionMessage ('Error unserializing page cache ' );
0 commit comments