From 5a8f1452cb7028e7c7173e430264c07fbc6fe858 Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sun, 26 Apr 2020 20:35:17 +0200 Subject: [PATCH] Fix magic method `__sleep` return value Found this one during the development of https://wiki.php.net/rfc/magic-methods-signature. --- tests/_files/SingletonClass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_files/SingletonClass.php b/tests/_files/SingletonClass.php index 3bd99d5c9ef..9d897ce2eff 100644 --- a/tests/_files/SingletonClass.php +++ b/tests/_files/SingletonClass.php @@ -17,7 +17,7 @@ protected function __construct() { } - private function __sleep(): void + private function __sleep(): array { }