Skip to content

Commit

Permalink
fix: variable name improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
joostfaassen committed Apr 12, 2023
1 parent 5f946c0 commit 18d4b62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Server.php
Expand Up @@ -23,7 +23,7 @@ public function __construct(
AuthorizationCheckerInterface $authorizationChecker,
string $adminRole,
$request,
$resolve
$resolver
) {
$schema = new Schema(
[
Expand All @@ -37,7 +37,7 @@ public function __construct(
'schema' => $schema,
'debug' => Debug::INCLUDE_DEBUG_MESSAGE | Debug::INCLUDE_TRACE,
'rootValue' => $rootValue,
'fieldResolver' => [$resolve, 'resolve'],
'fieldResolver' => [$resolver, 'resolve'],
'context' => [
static::CONTEXT_AUTHORIZATION_KEY => $authorizationChecker,
static::CONTEXT_ADMIN_ROLE_KEY => $adminRole,
Expand Down

0 comments on commit 18d4b62

Please sign in to comment.