Skip to content

Commit 74cfe4e

Browse files
Fix CS/WS issues
1 parent 25e7384 commit 74cfe4e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/StaticAnalysis/Visitor/AttributeParentConnectingVisitor.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@ public function beforeTraverse(array $nodes): null
3737

3838
public function enterNode(Node $node): null
3939
{
40-
if (
41-
$this->stack !== [] &&
42-
($node instanceof Node\Attribute || $node instanceof Node\AttributeGroup)
43-
) {
40+
if ($this->stack !== [] &&
41+
($node instanceof Node\Attribute || $node instanceof Node\AttributeGroup)) {
4442
$node->setAttribute('parent', $this->stack[count($this->stack) - 1]);
4543
}
4644

0 commit comments

Comments
 (0)