Skip to content

Commit cf12cbd

Browse files
wouterjnicolas-grekas
authored andcommitted
Add missing return types to magic methods
1 parent 6bb5b29 commit cf12cbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Authenticator/Debug/TraceableAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function getAuthenticator(): AuthenticatorInterface
9797
return $this->authenticator;
9898
}
9999

100-
public function __call($method, $args)
100+
public function __call($method, $args): mixed
101101
{
102102
return $this->authenticator->{$method}(...$args);
103103
}

Firewall/AbstractListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
abstract class AbstractListener implements FirewallListenerInterface
2222
{
23-
final public function __invoke(RequestEvent $event)
23+
final public function __invoke(RequestEvent $event): void
2424
{
2525
if (false !== $this->supports($event->getRequest())) {
2626
$this->authenticate($event);

0 commit comments

Comments
 (0)