Skip to content

Commit

Permalink
www: fix warning about magic method visibility
Browse files Browse the repository at this point in the history
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
  • Loading branch information
andrey-utkin committed Mar 21, 2024
1 parent d512d6e commit c57b8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/lib/VarPub.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class VarPub

private function __construct() {}
private function __clone() {}
private function __wakeup() {}
public function __wakeup() {}

public static function get ()
{
Expand Down

0 comments on commit c57b8bf

Please sign in to comment.