Skip to content

Commit

Permalink
Assignment not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 2, 2025
1 parent 45a0160 commit a742e51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Node/UnreachableStatementNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ final class UnreachableStatementNode extends Stmt implements VirtualNode
public function __construct(private Stmt $originalStatement, private array $nextStatements = [])
{
parent::__construct($originalStatement->getAttributes());

$this->nextStatements = $nextStatements;
}

public function getOriginalStatement(): Stmt
Expand Down

1 comment on commit a742e51

@ondrejmirtes
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @samsonasik FYI

Please sign in to comment.