Test Failed
Pull Request — master (#22)
by Anton
04:03
created
src/actions/Action.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * Links the relationships with primary model.
28
-     * @param $model ActiveRecordInterface
28
+     * @param BaseActiveRecord $model ActiveRecordInterface
29 29
      * @param array $data
30 30
      */
31 31
     protected function linkRelationships($model, array $data = [])
Please login to merge, or discard this patch.
src/JsonApiParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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.');
Please login to merge, or discard this patch.