mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-04-02 20:26:09 +03:00
Give some love to PHP CS
This commit is contained in:
parent
2f63387864
commit
eed9cc7f1b
2 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ class Visitor
|
|||
$visitFn = self::getVisitFn($visitor, $node->kind, $isLeaving);
|
||||
|
||||
if ($visitFn) {
|
||||
$result = call_user_func($visitFn, $node, $key, $parent, $path, $ancestors);
|
||||
$result = call_user_func($visitFn, $node, $key, $parent, $path, $ancestors);
|
||||
$editValue = null;
|
||||
|
||||
if ($result !== null) {
|
||||
|
|
|
@ -61,7 +61,7 @@ class KnownDirectives extends ValidationRule
|
|||
}
|
||||
|
||||
/**
|
||||
* @param Node[]|NodeList[] $ancestors
|
||||
* @param Node[]|NodeList[] $ancestors The type is actually (Node|NodeList)[] but this PSR-5 syntax is so far not supported by most of the tools
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue