Test Failed
Pull Request — master (#37)
by
unknown
04:44
created
src/Traits/RelationshipMongoTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             $is_EM_target = is_EM($typeOnTarget);
50 50
             $is_EO_target = is_EO($typeOnTarget);
51 51
 
52
-            $key = $parent . $method . $counter;
52
+            $key = $parent.$method.$counter;
53 53
             $is_skippable = $this->getIsSkippable($request->has($key), $hasTarget);
54 54
 
55 55
             if ($is_skippable) {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         if ($is_EM_target) {
132 132
             $new_values = [];
133 133
             if ($this->$method_on_target->count() <= 0) {
134
-                throw new Exception('Method on target for ' . $method_on_target . ' doesn\'t exist');
134
+                throw new Exception('Method on target for '.$method_on_target.' doesn\'t exist');
135 135
             } else {
136 136
                 foreach ($this->$method_on_target as $temp) {
137 137
                     $new_values[] = $temp->attributes;
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
         //Get counter for embeds many with level > 1
275 275
         $counter = getCounterForRelationships($method, $is_EO, $is_EM, $i);
276 276
         //Check for another Level of Relationship
277
-        $embedObj->processAllRelationships($request, $event, $method . '-', $counter, $options);
277
+        $embedObj->processAllRelationships($request, $event, $method.'-', $counter, $options);
278 278
 
279 279
         if ($is_EO) {
280 280
             $this->$method = $embedObj->attributes;
Please login to merge, or discard this patch.