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 authored May 27, 2021
1 parent 25604e3 commit 613295b
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 613295b

Please sign in to comment.