From b277fb3aebbc24cb74283bc2617664269bd71f19 Mon Sep 17 00:00:00 2001 From: Andriy Utkin Date: Thu, 21 Mar 2024 21:57:06 +0000 Subject: [PATCH] www: fix warning about magic method visibility PHP Warning: The magic method VarPub::__wakeup() must have public visibility in www/lib/VarPub.php on line 10 Found by for x in $(find * -name '*.php' | grep -v /vendor/); do php -l $x; done --- www/lib/VarPub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/lib/VarPub.php b/www/lib/VarPub.php index d4ecf8161..6f23bb962 100644 --- a/www/lib/VarPub.php +++ b/www/lib/VarPub.php @@ -7,7 +7,7 @@ class VarPub private function __construct() {} private function __clone() {} - private function __wakeup() {} + public function __wakeup() {} public static function get () {