From 5c1a20b434d4fc2ec06e1ccbd55e8e9067b28161 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 23 Jul 2021 17:49:17 +0200 Subject: [PATCH] [Cache] Add missing return type --- Internal/CurlClientState.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Internal/CurlClientState.php b/Internal/CurlClientState.php index 40ed0f1..ae738f0 100644 --- a/Internal/CurlClientState.php +++ b/Internal/CurlClientState.php @@ -68,7 +68,7 @@ public function reset() } } - public function __sleep() + public function __sleep(): array { throw new \BadMethodCallException('Cannot serialize '.__CLASS__); }