Completed
Branch develop (eb89bc)
by Martin
03:48
created
Category
src/MartinGeorgiev/Utils/DataStructure.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
                     break;
28 28
                 }
29 29
 
30
-                $isInteger = is_numeric($text) && ''.intval($text) === $text;
30
+                $isInteger = is_numeric($text) && '' . intval($text) === $text;
31 31
                 if ($isInteger) {
32 32
                     $phpArray[$i] = (int)$text;
33 33
                     continue;
34 34
                 }
35 35
 
36
-                $isFloat = is_numeric($text) && ''.floatval($text) === $text;
36
+                $isFloat = is_numeric($text) && '' . floatval($text) === $text;
37 37
                 if ($isFloat) {
38 38
                     $phpArray[$i] = (float)$text;
39 39
                     continue;
Please login to merge, or discard this patch.
src/MartinGeorgiev/Doctrine/DBAL/Types/AbstractTypeArray.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             }
42 42
             $item = $this->transformArrayItemForPostgres($item);
43 43
         }
44
-        return '{'.join(',', $phpArray).'}';
44
+        return '{' . join(',', $phpArray) . '}';
45 45
     }
46 46
     
47 47
     /**
Please login to merge, or discard this patch.