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