Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Fix return types for PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Aug 4, 2021
1 parent 41c2305 commit dcdac2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Exception/AuthenticationException.php
Expand Up @@ -128,7 +128,7 @@ public function __sleep(): array
/**
* @internal
*/
public function __wakeup()
public function __wakeup(): void
{
if (__CLASS__ !== $c = (new \ReflectionMethod($this, 'unserialize'))->getDeclaringClass()->name) {
@trigger_error(sprintf('Implementing the "%s::unserialize()" method is deprecated since Symfony 4.3, implement the __serialize() and __unserialize() methods instead.', $c), \E_USER_DEPRECATED);
Expand Down

0 comments on commit dcdac2d

Please sign in to comment.