mirror of
https://github.com/openvk/chandler.git
synced 2024-11-14 19:19:11 +03:00
fix: make __wakeup methods public
PHP 8+ requires that __wakeup must be public
This commit is contained in:
parent
f97ff7d0fd
commit
0d094c9830
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ class DatabaseConnection
|
|||
}
|
||||
|
||||
private function __clone() {}
|
||||
private function __wakeup() {}
|
||||
public function __wakeup() {}
|
||||
|
||||
protected function getQueryCallback(): array
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ trait TSimpleSingleton
|
|||
|
||||
private function __construct() {}
|
||||
private function __clone() {}
|
||||
private function __wakeup() {}
|
||||
public function __wakeup() {}
|
||||
|
||||
static function i()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue