| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\Node; |
| 4: | |
| 5: | use PhpParser\Node\Expr; |
| 6: | use PHPStan\Analyser\Scope; |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | |
| 12: | class MatchExpressionArmCondition |
| 13: | { |
| 14: | |
| 15: | public function __construct(private Expr $condition, private Scope $scope, private int $line) |
| 16: | { |
| 17: | } |
| 18: | |
| 19: | public function getCondition(): Expr |
| 20: | { |
| 21: | return $this->condition; |
| 22: | } |
| 23: | |
| 24: | public function getScope(): Scope |
| 25: | { |
| 26: | return $this->scope; |
| 27: | } |
| 28: | |
| 29: | public function getLine(): int |
| 30: | { |
| 31: | return $this->line; |
| 32: | } |
| 33: | |
| 34: | } |
| 35: | |