@@ -20,10 +20,10 @@ discard block |
||
| 20 | 20 | protected bool $processRequestData; |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * Request data. |
|
| 24 | - * |
|
| 25 | - * @var array<mixed> |
|
| 26 | - */ |
|
| 23 | + * Request data. |
|
| 24 | + * |
|
| 25 | + * @var array<mixed> |
|
| 26 | + */ |
|
| 27 | 27 | protected array $requestData; |
| 28 | 28 | |
| 29 | 29 | public function __construct(RequestInterface $request) |
@@ -42,8 +42,8 @@ discard block |
||
| 42 | 42 | // If not missing, it needs to be valid. |
| 43 | 43 | try { |
| 44 | 44 | /** |
| 45 | - * @throws \JsonException |
|
| 46 | - */ |
|
| 45 | + * @throws \JsonException |
|
| 46 | + */ |
|
| 47 | 47 | $requestData = \json_decode( |
| 48 | 48 | $this->request->getBody(), |
| 49 | 49 | true, // associative |
@@ -139,8 +139,8 @@ discard block |
||
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /** |
| 142 | - * @param array<string,mixed> $data |
|
| 143 | - */ |
|
| 142 | + * @param array<string,mixed> $data |
|
| 143 | + */ |
|
| 144 | 144 | protected function verifyData(array $data): bool |
| 145 | 145 | { |
| 146 | 146 | foreach (['type', 'attributes'] as $item) { |