| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | 12 | public function __construct( |
|
| 27 | string $className, |
||
| 28 | string $property, |
||
| 29 | int $code = self::INT_DEFAULT_CODE, |
||
| 30 | Throwable $previous = null |
||
| 31 | ) { |
||
| 32 | 12 | parent::__construct( |
|
| 33 | 12 | 'json-decodable (should be an array)', |
|
| 34 | 6 | $className, |
|
| 35 | 6 | $property, |
|
| 36 | 6 | $code, |
|
| 37 | 6 | $previous |
|
| 38 | ); |
||
| 41 |