Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function __construct( |
||
26 | $field, |
||
27 | $expectedType, |
||
28 | $operation, |
||
29 | $code = 0, |
||
30 | ?Throwable $previous = null |
||
31 | ) |
||
32 | { |
||
33 | parent::__construct( |
||
34 | 'Invalid field type - "' . $field . '" should be of type: ' . $expectedType, |
||
35 | $code, |
||
36 | $previous |
||
37 | ); |
||
38 | $this->field = $field; |
||
39 | $this->expectedType = $expectedType; |
||
40 | $this->operation = $operation; |
||
41 | } |
||
67 |