Completed
Push — master ( 061e7a...dc8b78 )
by Rémi
04:53
created
src/Rule/Implode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
         if (!is_array($input)) {
45 45
             throw new NotTransformableException('Rule Implode can transform an array. '
46
-                . gettype($input) . ' found in input');
46
+                . gettype($input).' found in input');
47 47
         }
48 48
 
49 49
         // Transform it
Please login to merge, or discard this patch.
src/Rule/SugarCRMMapMultiEnum.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
             $string = preg_replace('/^(\^\^,\^)|(\^,\^\^)$/', '^', $string);
100 100
 
101 101
             // Get the inner part of the string without leading|trailing ^ chars
102
-            $string = substr(substr($string, 1), 0, strlen($string) -2);
102
+            $string = substr(substr($string, 1), 0, strlen($string) - 2);
103 103
         }
104 104
 
105 105
         return explode('^,^', $string);
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
             return "";
112 112
         }
113 113
 
114
-        $string = "^" . implode('^,^', $arr) . "^";
114
+        $string = "^".implode('^,^', $arr)."^";
115 115
 
116 116
         return $string;
117 117
     }
Please login to merge, or discard this patch.