| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | public function __construct(string $type, string $fieldName, array $context = []) |
||
| 10 | { |
||
| 11 | $message = sprintf( |
||
| 12 | 'The type "%s" is not configured for the Field "%s" with context "%s"', |
||
| 13 | $type, |
||
| 14 | $fieldName, |
||
| 15 | print_r($context, true) |
||
|
|
|||
| 16 | ); |
||
| 17 | |||
| 18 | parent::__construct($message, 500); |
||
| 19 | } |
||
| 21 |