| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function __construct( |
||
| 35 | string $message, |
||
| 36 | string $file = null, |
||
| 37 | array $errors = [], |
||
| 38 | int $code = 0, |
||
| 39 | Throwable $previous = null |
||
| 40 | ) { |
||
| 41 | if (null !== $file) { |
||
| 42 | Assertion::file($file); |
||
| 43 | } |
||
| 44 | Assertion::allString($errors); |
||
| 45 | |||
| 46 | $this->validatedFile = $file; |
||
| 47 | $this->errors = $errors; |
||
| 48 | |||
| 49 | parent::__construct($message, $code, $previous); |
||
| 50 | } |
||
| 65 |