Give some love to PHP CS

This commit is contained in:
Jeremiah VALERIE 2018-09-02 17:26:03 +02:00
parent 2f63387864
commit eed9cc7f1b
No known key found for this signature in database
GPG Key ID: 668676FD50ADF244
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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
*/