Skip to content

Commit 8211981

Browse files
Merge branch '6.4' into 7.3
* 6.4: Replace __sleep/wakeup() by __(un)serialize() for throwing and internal usages
2 parents 404b313 + 5f311ea commit 8211981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Loader/Configurator/AbstractConfigurator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ public function __call(string $method, array $args): mixed
4343
throw new \BadMethodCallException(\sprintf('Call to undefined method "%s::%s()".', static::class, $method));
4444
}
4545

46-
public function __sleep(): array
46+
public function __serialize(): array
4747
{
4848
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
4949
}
5050

51-
public function __wakeup(): void
51+
public function __unserialize(array $data): void
5252
{
5353
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
5454
}

0 commit comments

Comments
 (0)