Skip to content

Commit f374461

Browse files
committed
Fix return value for symfony 6 compatibility
1 parent 24fb3cb commit f374461

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Tests/Functional/Bundle/TestBundle/Security/ApiTokenAuthenticator.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ class ApiTokenAuthenticator extends AbstractAuthenticator
2828
protected $headerName = 'x-foo';
2929
protected $tokenValue = 'FOOBAR';
3030

31-
/**
32-
* @return Passport
33-
*/
34-
public function authenticate(Request $request)
31+
public function authenticate(Request $request): Passport
3532
{
3633
$credentials = $request->headers->get($this->headerName);
3734

0 commit comments

Comments
 (0)