Skip to content

Conversation

@eric-therond
Copy link
Contributor

No description provided.


protected function parseStmt_Block(Stmt\Block $node)
{
$this->block->children[] = new Op\Stmt\Block($this->parseNodes($node->stmts, new Block($this->block)));
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should flatten this into the parent block, instead of creating a new statement for it.

@nikic nikic merged commit 5705038 into ircmaxell:master Jun 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants