mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Give some love to PHP CS
This commit is contained in:
parent
2f63387864
commit
eed9cc7f1b
@ -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…
Reference in New Issue
Block a user