fix: make __wakeup methods public

PHP 8+ requires that __wakeup must be public
This commit is contained in:
Alexander Minkin 2023-12-11 13:38:00 +03:00
parent f97ff7d0fd
commit 0d094c9830
Signed by untrusted user: WerySkok
GPG key ID: 88E9A2F3AFE44C30
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class DatabaseConnection
}
private function __clone() {}
private function __wakeup() {}
public function __wakeup() {}
protected function getQueryCallback(): array
{

View file

@ -7,7 +7,7 @@ trait TSimpleSingleton
private function __construct() {}
private function __clone() {}
private function __wakeup() {}
public function __wakeup() {}
static function i()
{