diff --git a/src/ExpressionLanguage/ExpressionFunction/Security/GetUser.php b/src/ExpressionLanguage/ExpressionFunction/Security/GetUser.php index 951580dda..9c53bc3f3 100644 --- a/src/ExpressionLanguage/ExpressionFunction/Security/GetUser.php +++ b/src/ExpressionLanguage/ExpressionFunction/Security/GetUser.php @@ -14,7 +14,7 @@ public function __construct() { parent::__construct( 'getUser', - fn () => "$this->gqlServices->get('".Security::class.'\')->getUser()', + fn () => "$this->gqlServices->get('".Security::class."')->getUser()", static fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->getUser() ); }