| Total Complexity | 2 |
| Total Lines | 9 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 12 | abstract class CallableFunction implements CallableUserFunctionInterface |
||
| 13 | { |
||
| 14 | public function __construct( |
||
| 15 | protected readonly ?BaseToken $token = null, |
||
|
|
|||
| 16 | ) { |
||
| 17 | 138 | } |
|
| 18 | |||
| 19 | 138 | protected function parseParameter(array $parameters, int $numParam): ?BaseToken |
|
| 20 | 138 | { |
|
| 21 | return $parameters[$numParam] ?? null; |
||
| 24 |