@@ -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) |
@@ -43,8 +43,8 @@ discard block |
||
| 43 | 43 | // If not missing, it needs to be valid. |
| 44 | 44 | try { |
| 45 | 45 | /** |
| 46 | - * @throws \JsonException |
|
| 47 | - */ |
|
| 46 | + * @throws \JsonException |
|
| 47 | + */ |
|
| 48 | 48 | $requestData = \json_decode( |
| 49 | 49 | $requestBody, |
| 50 | 50 | true, // associative |
@@ -140,8 +140,8 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /** |
| 143 | - * @param array<string,mixed> $data |
|
| 144 | - */ |
|
| 143 | + * @param array<string,mixed> $data |
|
| 144 | + */ |
|
| 145 | 145 | protected function verifyData(array $data): bool |
| 146 | 146 | { |
| 147 | 147 | foreach (['type', 'attributes'] as $item) { |