Skip to content

Commit a5e2580

Browse files
Merge branch '5.2' into 5.3
* 5.2: Backport type fixes Fix CS Avoid triggering the autoloader in Deprecation::isLegacy() fix markdown markup Backport type fixes uzb translation [DependencyInjection] Fix doc blocks [DependencyInjection] Turn $defaultDeprecationTemplate into a constant [Form] better form doc types to support static analysis
2 parents 03a9257 + 73a90f5 commit a5e2580

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Authenticator/Passport/Credentials/CustomCredentials.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CustomCredentials implements CredentialsInterface
3131
* @param callable $customCredentialsChecker the check function. If this function does not return `true`, a
3232
* BadCredentialsException is thrown. You may also throw a more
3333
* specific exception in the function.
34-
* @param $credentials
34+
* @param mixed $credentials
3535
*/
3636
public function __construct(callable $customCredentialsChecker, $credentials)
3737
{

Firewall/ContextListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ private function safelyUnserialize(string $serializedToken)
319319
/**
320320
* @internal
321321
*/
322-
public static function handleUnserializeCallback($class)
322+
public static function handleUnserializeCallback(string $class)
323323
{
324324
throw new \ErrorException('Class not found: '.$class, 0x37313bc);
325325
}

0 commit comments

Comments
 (0)