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 @@ -36,12 +36,12 @@ public function __construct(
3636 $ this ->route = new Route ('' );
3737 }
3838
39- public function __sleep (): array
39+ public function __serialize (): array
4040 {
4141 throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
4242 }
4343
44- public function __wakeup ( ): void
44+ public function __unserialize ( array $ data ): void
4545 {
4646 throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
4747 }
Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ public function __construct(
2929 $ this ->route = $ route ;
3030 }
3131
32- public function __sleep (): array
32+ public function __serialize (): array
3333 {
3434 throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
3535 }
3636
37- public function __wakeup ( ): void
37+ public function __unserialize ( array $ data ): void
3838 {
3939 throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
4040 }
You can’t perform that action at this time.
0 commit comments