@@ -34,7 +34,7 @@ |
||
34 | 34 | public function parse($rawBody, $contentType) |
35 | 35 | { |
36 | 36 | $array = parent::parse($rawBody, $contentType); |
37 | - $data = ArrayHelper::getValue($array, 'data', []); |
|
37 | + $data = ArrayHelper::getValue($array, 'data', []); |
|
38 | 38 | if (empty($data)) { |
39 | 39 | if ($this->throwException) { |
40 | 40 | throw new BadRequestHttpException('The request MUST include a single resource object as primary data.'); |