Failed Conditions
Push — master ( da580a...04820f )
by Moesjarraf
03:10
created
src/DataEnricher/Processor/Merge.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         
26 26
         if (isset($list) && !is_array($list)) {
27 27
             throw new \Exception("Unable to apply {$this->property} processing instruction:"
28
-                . " Expected an array, got a " . (is_object($list) ? get_class($list) . ' ' : '') . gettype($list));
28
+                . " Expected an array, got a ".(is_object($list) ? get_class($list).' ' : '').gettype($list));
29 29
         }
30 30
         
31 31
         $result = $this->merge((array)$list);
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         if (count($scalar) > 0 && $scalar[0]) {
95 95
             $result = join('', $list);
96 96
         } else {
97
-            if(empty($list)) {
97
+            if (empty($list)) {
98 98
                 return null;
99 99
             }
100 100
             $result = call_user_func_array('array_merge', $list);
Please login to merge, or discard this patch.