Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 6 | public function __construct(int $index, string $property, $path, Throwable $previous = null) |
|
19 | { |
||
20 | 6 | $this->index = $index; |
|
21 | 6 | $this->property = $property; |
|
22 | 6 | $this->path = $path; |
|
23 | 6 | parent::__construct( |
|
24 | 6 | "Operation #{$this->index}: JSON pointer in '{$this->property}' property must be a string", |
|
25 | 6 | 0, |
|
26 | $previous |
||
27 | ); |
||
45 |