Passed
Pull Request — master (#49)
by Giacomo
04:42
created
src/Traits/ModelAdditionalMethod.php 1 patch
Spacing   +2 added lines, -2 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 [];
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
         if ($is_EO) {
392 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.