| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class ResponsePath |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var ResponsePath|null |
||
| 9 | */ |
||
| 10 | protected $prev; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string|int |
||
| 14 | */ |
||
| 15 | protected $key; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * ResponsePath constructor. |
||
| 19 | * |
||
| 20 | * @param ResponsePath|null $prev |
||
| 21 | * @param int|string $key |
||
| 22 | */ |
||
| 23 | public function __construct(?ResponsePath $prev, $key) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return ResponsePath|null |
||
| 31 | */ |
||
| 32 | public function getPrev(): ?ResponsePath |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return int|string |
||
| 39 | */ |
||
| 40 | public function getKey() |
||
| 45 |