Skip to content

Commit 7d2e47c

Browse files
committed
Fixed non needed checking
1 parent 63708d1 commit 7d2e47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphQl/Resolver/Stage/SecurityPostDenormalizeStage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __invoke(string $resourceClass, string $operationName, array $co
5757
}
5858
}
5959

60-
if (null === $isGranted || null === $this->resourceAccessChecker || $this->resourceAccessChecker->isGranted($resourceClass, (string) $isGranted, $context['extra_variables'])) {
60+
if (null === $isGranted || $this->resourceAccessChecker->isGranted($resourceClass, (string) $isGranted, $context['extra_variables'])) {
6161
return;
6262
}
6363

0 commit comments

Comments
 (0)