Passed
Pull Request — master (#49)
by Giacomo
04:20
created
src/Traits/ModelAdditionalMethod.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function getMongoRelation(): array
34 34
     {
35
-        if (! empty($this->mongoRelation)) {
35
+        if (!empty($this->mongoRelation)) {
36 36
             return $this->mongoRelation;
37 37
         } else {
38 38
             return [];
@@ -389,9 +389,9 @@  discard block
 block discarded – undo
389 389
         $is_EM = is_EM($type);
390 390
 
391 391
         if ($is_EO) {
392
-            $objs[] = $this->getObjValueToBeSaved($method, '', false);;
392
+            $objs[] = $this->getObjValueToBeSaved($method, '', false); ;
393 393
         } elseif ($is_EM) {
394
-            if (! is_null($this->$method) > 0) {
394
+            if (!is_null($this->$method) > 0) {
395 395
                 foreach ($this->$method as $value) {
396 396
                     $obj = new stdClass;
397 397
                     $obj->ref_id = $value->ref_id;
Please login to merge, or discard this patch.