Skip to content

Commit ceff22a

Browse files
Remove default value
1 parent f1cf75f commit ceff22a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Node/BreaklessWhileLoopNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class BreaklessWhileLoopNode extends NodeAbstract implements VirtualNode
1616
/**
1717
* @param StatementExitPoint[] $exitPoints
1818
*/
19-
public function __construct(private While_ $originalNode, private array $exitPoints, private bool $hasYield = false)
19+
public function __construct(private While_ $originalNode, private array $exitPoints, private bool $hasYield)
2020
{
2121
parent::__construct($originalNode->getAttributes());
2222
}

src/Node/DoWhileLoopConditionNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class DoWhileLoopConditionNode extends NodeAbstract implements VirtualNode
1313
/**
1414
* @param StatementExitPoint[] $exitPoints
1515
*/
16-
public function __construct(private Expr $cond, private array $exitPoints, private bool $hasYield = false)
16+
public function __construct(private Expr $cond, private array $exitPoints, private bool $hasYield)
1717
{
1818
parent::__construct($cond->getAttributes());
1919
}

0 commit comments

Comments
 (0)