Skip to content

Commit

Permalink
Improve syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Timur Murtukov <[email protected]>
  • Loading branch information
mcg-web and murtukov committed Dec 22, 2021
1 parent d31d59c commit ee7a7f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
}
Expand Down

0 comments on commit ee7a7f7

Please sign in to comment.