Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit dcdac2d

Browse files
committed
Fix return types for PHP 8.1
1 parent 41c2305 commit dcdac2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Exception/AuthenticationException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function __sleep(): array
128128
/**
129129
* @internal
130130
*/
131-
public function __wakeup()
131+
public function __wakeup(): void
132132
{
133133
if (__CLASS__ !== $c = (new \ReflectionMethod($this, 'unserialize'))->getDeclaringClass()->name) {
134134
@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);

0 commit comments

Comments
 (0)