| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | public function __call(string $method, array $things): With |
||
| 45 | { |
||
| 46 | if (\substr($method, -1) === '_') { |
||
| 47 | $method = \substr($method, 0, -1); |
||
| 48 | $things[] = $this->thing; |
||
| 49 | } else { |
||
| 50 | \array_unshift($things, $this->thing); |
||
| 51 | } |
||
| 52 | |||
| 53 | $this->thing = $method(...$things); |
||
| 54 | |||
| 55 | return $this; |
||
| 56 | } |
||
| 85 |