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()
{