Skip to content

Commit

Permalink
Dusting
Browse files Browse the repository at this point in the history
  • Loading branch information
driftingly committed Nov 22, 2024
1 parent 38e0871 commit a2d34c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Formatters/OneLineBetweenClassVisibilityChanges.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function enterNode(Node $node)
}

// If the two nodes are the same type and have the same visibility skip
if ($this->previousNode::class === $node::class && $this->previousNode->flags === $node->flags) {
if ($node::class === $this->previousNode::class && $this->previousNode->flags === $node->flags) {
$this->previousNode = $node;

return null;
Expand Down

0 comments on commit a2d34c9

Please sign in to comment.