| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 14 | 140 | public function getNode(): BaseToken |
|
| 15 | { |
||
| 16 | 140 | $token = $this->tokenStream->getVariable($this->getVariableName()); |
|
| 17 | |||
| 18 | 136 | while ($this->hasMethodCall()) { |
|
| 19 | 82 | $token = $this->getMethod($token)->call(...$this->getArguments()); |
|
| 20 | } |
||
| 21 | |||
| 22 | 102 | return $token; |
|
| 23 | } |
||
| 30 |