Skip to content

Commit

Permalink
[automated] Apply Coding Standard (#5769)
Browse files Browse the repository at this point in the history
Co-authored-by: TomasVotruba <924196+TomasVotruba@users.noreply.github.com>
  • Loading branch information
TomasVotruba and TomasVotruba committed Mar 24, 2024
1 parent 087f07a commit 25f3af6
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -113,7 +113,9 @@ public function refactor(Node $node): ?Node
}

$hasChanged = false;
$this->traverseNodesWithCallable((array) $node->stmts, static function (Node $node) use (&$hasChanged) : int|null|Return_ {
$this->traverseNodesWithCallable((array) $node->stmts, static function (Node $node) use (
&$hasChanged
): int|null|Return_ {
if ($node instanceof Class_ || $node instanceof Function_ || $node instanceof Closure) {
return NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN;
}
Expand Down

0 comments on commit 25f3af6

Please sign in to comment.