File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function __sleep(): array
4040 throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
4141 }
4242
43- public function __wakeup ()
43+ public function __wakeup (): void
4444 {
4545 throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
4646 }
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public function __sleep(): array
9393 throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
9494 }
9595
96- public function __wakeup ()
96+ public function __wakeup (): void
9797 {
9898 throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
9999 }
Original file line number Diff line number Diff line change @@ -200,6 +200,9 @@ public function __sleep(): array
200200 throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
201201 }
202202
203+ /**
204+ * @return void
205+ */
203206 public function __wakeup ()
204207 {
205208 throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
You can’t perform that action at this time.
0 commit comments