File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ class Connection extends AbstractConnection
4040 private bool $ bound = false ;
4141 private ?LDAPConnection $ connection = null ;
4242
43- public function __sleep (): array
43+ public function __serialize (): array
4444 {
4545 throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
4646 }
4747
48- public function __wakeup ( ): void
48+ public function __unserialize ( array $ data ): void
4949 {
5050 throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
5151 }
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ class Query extends AbstractQuery
3030
3131 private array $ serverctrls = [];
3232
33- public function __sleep (): array
33+ public function __serialize (): array
3434 {
3535 throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
3636 }
3737
38- public function __wakeup ( ): void
38+ public function __unserialize ( array $ data ): void
3939 {
4040 throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
4141 }
You can’t perform that action at this time.
0 commit comments