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(
36
36
$ this ->route = new Route ('' );
37
37
}
38
38
39
- public function __sleep (): array
39
+ public function __serialize (): array
40
40
{
41
41
throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
42
42
}
43
43
44
- public function __wakeup ( ): void
44
+ public function __unserialize ( array $ data ): void
45
45
{
46
46
throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
47
47
}
Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ public function __construct(
29
29
$ this ->route = $ route ;
30
30
}
31
31
32
- public function __sleep (): array
32
+ public function __serialize (): array
33
33
{
34
34
throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
35
35
}
36
36
37
- public function __wakeup ( ): void
37
+ public function __unserialize ( array $ data ): void
38
38
{
39
39
throw new \BadMethodCallException ('Cannot unserialize ' .__CLASS__ );
40
40
}
You can’t perform that action at this time.
0 commit comments