Passed
Push — master ( 6ba492...107a58 )
by Arthur
04:07
created
src/Extension/ApiController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
         }
164 164
 
165 165
         $resource = $this->json->setMeta($meta)->getResource($this->formRequest, $item, $this->entity);
166
-        return $this->getResponse(Json::prepareSerializedData($resource,  $data));
166
+        return $this->getResponse(Json::prepareSerializedData($resource, $data));
167 167
     }
168 168
 
169 169
     /**
Please login to merge, or discard this patch.
src/Extension/BaseRelationsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         }
68 68
 
69 69
         $relEntity = ucfirst($relation);
70
-        $formRequestEntity  = $this->getFormRequestEntity(conf::getModuleName(), $relEntity);
70
+        $formRequestEntity = $this->getFormRequestEntity(conf::getModuleName(), $relEntity);
71 71
         $relFormRequest = new $formRequestEntity();
72 72
 
73 73
         $this->json->setIsCollection($model->$relation instanceof  \Illuminate\Database\Eloquent\Collection);
Please login to merge, or discard this patch.
src/Blocks/EntitiesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     {
66 66
         $this->json = new Json();
67 67
         $this->entity      = Classes::cutEntity(Classes::getObjectName($this), DefaultInterface::CONTROLLER_POSTFIX);
68
-        $formRequestEntity  = $this->getFormRequestEntity(conf::getModuleName(), $this->entity);
68
+        $formRequestEntity = $this->getFormRequestEntity(conf::getModuleName(), $this->entity);
69 69
         $this->formRequest = new $formRequestEntity();
70 70
         $this->props       = get_object_vars($this->formRequest);
71 71
         $this->modelEntity = Classes::getModelEntity($this->entity);
Please login to merge, or discard this patch.