From d4060bc9e5940749ac06ae741517e5dc557b47ad Mon Sep 17 00:00:00 2001 From: Tim Kelty Date: Fri, 15 Oct 2021 09:29:03 -0400 Subject: [PATCH] Return type --- src/CacheResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CacheResponse.php b/src/CacheResponse.php index efc26b3..71d3309 100644 --- a/src/CacheResponse.php +++ b/src/CacheResponse.php @@ -34,7 +34,7 @@ public function for(string $time) $this->response->setSharedMaxAge($seconds); } - public function isWebResponse() + public function isWebResponse(): bool { return $this->response instanceof \craft\web\Response; }