mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 06:16:05 +03:00
TASK: Code style #4
This commit is contained in:
parent
5a1caf0549
commit
5f5c7d89be
@ -59,7 +59,6 @@ class KnownDirectives extends ValidationRule
|
|||||||
if (! $candidateLocation || in_array($candidateLocation, $locations)) {
|
if (! $candidateLocation || in_array($candidateLocation, $locations)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$context->reportError(
|
$context->reportError(
|
||||||
new Error(
|
new Error(
|
||||||
self::misplacedDirectiveMessage($name, $candidateLocation),
|
self::misplacedDirectiveMessage($name, $candidateLocation),
|
||||||
|
Loading…
Reference in New Issue
Block a user