| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 46 | 3 | protected function validateArguments(Node ...$arguments): void |
|
| 47 | { |
||
| 48 | 3 | parent::validateArguments(...$arguments); |
|
| 49 | |||
| 50 | // Validate that the fourth parameter is a valid boolean if provided |
||
| 51 | 2 | if (\count($arguments) === 4) { |
|
| 52 | 2 | $this->validateBoolean($arguments[3], $this->getFunctionName()); |
|
| 53 | } |
||
| 56 |