Skip to content

Commit 862c6fb

Browse files
committed
use fully-qualified function name when checking for its existence
1 parent ccbdc1a commit 862c6fb

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Security/Http/AccessToken/Oidc

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Http/AccessToken/Oidc/OidcTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ trait OidcTrait
2424
{
2525
private function createUser(array $claims): OidcUser
2626
{
27-
if (!\function_exists(u::class)) {
27+
if (!\function_exists('Symfony\Component\String\u')) {
2828
throw new \LogicException('You cannot use the "OidcUserInfoTokenHandler" since the String component is not installed. Try running "composer require symfony/string".');
2929
}
3030

0 commit comments

Comments
 (0)