Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | final class PositionalArgumentException extends ValidationException |
||
8 | { |
||
9 | 2 | protected function getValidationMessage( |
|
10 | \ReflectionFunctionAbstract $reflection, |
||
11 | string $parameter, |
||
12 | ): string { |
||
13 | 2 | $pattern = 'Cannot use positional argument after named argument `%s` %s.'; |
|
14 | 2 | return $this->renderFunctionAndParameter($reflection, $pattern); |
|
15 | } |
||
16 | |||
17 | 2 | public function getParameter(): string |
|
20 | } |
||
21 | } |
||
22 |