| Total Complexity | 9 |
| Total Lines | 79 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class InvalidResponseDocument implements DocumentInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @return \Swis\JsonApi\Client\Interfaces\DataInterface |
||
| 12 | */ |
||
| 13 | public function getData() |
||
| 14 | { |
||
| 15 | return null; |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return \Swis\JsonApi\Client\Errors\ErrorCollection |
||
| 20 | */ |
||
| 21 | public function getErrors(): ErrorCollection |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function hasErrors(): bool |
||
| 30 | { |
||
| 31 | return false; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | public function getMeta(): array |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function getLinks(): array |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return mixed |
||
| 52 | */ |
||
| 53 | public function getIncluded(): Collection |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return mixed |
||
| 60 | */ |
||
| 61 | public function getJsonapi() |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * Specify data which should be serialized to JSON. |
||
| 68 | * |
||
| 69 | * @see http://php.net/manual/en/jsonserializable.jsonserialize.php |
||
| 70 | * |
||
| 71 | * @return mixed data which can be serialized by <b>json_encode</b>, |
||
| 72 | * which is a value of any type other than a resource |
||
| 73 | * |
||
| 74 | * @since 5.4.0 |
||
| 75 | */ |
||
| 76 | public function jsonSerialize() |
||
| 79 | } |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @return array |
||
| 83 | */ |
||
| 84 | public function toArray(): array |
||
| 89 |