| Total Complexity | 3 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class NoKeyInPayloadException extends InvalidArgumentException implements FriendlyExceptionInterface |
||
| 13 | { |
||
| 14 | public function __construct( |
||
| 28 | ); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | public function getName(): string |
||
| 35 | { |
||
| 36 | return sprintf('No key "%s" in payload', $this->expectedKey); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | * |
||
| 42 | * @infection-ignore-all |
||
| 43 | */ |
||
| 44 | public function getSolution(): ?string |
||
| 54 | ); |
||
| 55 | } |
||
| 57 |