Completed
Push — master ( 94029f...e94e78 )
by Beniamin
02:32
created
src/QueryCompiler/ConcreteCompiler/InsertCompiler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,8 @@
 block discarded – undo
98 98
         $builder = $payload->getBuilder();
99 99
 
100 100
         if ($builder instanceof Component\InsertValuesComponentInterface) {
101
-            $newSQL = 'VALUES ' . implode(', ', array_map(function (array $values) {
102
-                return '('. implode(', ', $values) . ')';
101
+            $newSQL = 'VALUES ' . implode(', ', array_map(function(array $values) {
102
+                return '(' . implode(', ', $values) . ')';
103 103
             }, $builder->getValues()));
104 104
             $payload = $payload->appendSQL($newSQL);
105 105
         }
Please login to merge, or discard this patch.
src/QueryCompiler/ReferenceCompiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     private function convertReferenceToValue($reference)
63 63
     {
64 64
         if (is_string($reference)) {
65
-            return "\"" . $reference ."\"";
65
+            return "\"" . $reference . "\"";
66 66
         } elseif ($reference instanceof AbstractTable) {
67 67
             return $reference->getAliasOrName();
68 68
         } elseif ($reference instanceof QueryComponentInterface) {
Please login to merge, or discard this patch.
src/QueryBuilder/Clause/GroupByTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function addGroupBy($_)
37 37
     {
38
-        RecursiveArgs::each(func_get_args(), function ($arg) {
38
+        RecursiveArgs::each(func_get_args(), function($arg) {
39 39
             $this->groupByClauses[] = $arg;
40 40
         });
41 41
 
Please login to merge, or discard this patch.
src/Utils/RecursiveArgs.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
         $collection = [];
43 43
 
44
-        static::each($args, function ($arg) use (&$collection, $resolver) {
44
+        static::each($args, function($arg) use (&$collection, $resolver) {
45 45
             $collection[] = $resolver($arg);
46 46
         });
47 47
 
Please login to merge, or discard this patch.
src/QueryBuilder/Clause/HavingTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function addGroupBy($_)
37 37
     {
38
-        RecursiveArgs::each(func_get_args(), function ($arg) {
38
+        RecursiveArgs::each(func_get_args(), function($arg) {
39 39
             $this->groupByClauses[] = $arg;
40 40
         });
41 41
 
Please login to merge, or discard this patch.
src/QueryBuilder/Clause/SetTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function addGroupBy($_)
37 37
     {
38
-        RecursiveArgs::each(func_get_args(), function ($arg) {
38
+        RecursiveArgs::each(func_get_args(), function($arg) {
39 39
             $this->groupByClauses[] = $arg;
40 40
         });
41 41
 
Please login to merge, or discard this patch.
src/QueryBuilder/Clause/WhereTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function addGroupBy($_)
37 37
     {
38
-        RecursiveArgs::each(func_get_args(), function ($arg) {
38
+        RecursiveArgs::each(func_get_args(), function($arg) {
39 39
             $this->groupByClauses[] = $arg;
40 40
         });
41 41
 
Please login to merge, or discard this patch.
src/QueryBuilder/Clause/OrderByTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function addGroupBy($_)
37 37
     {
38
-        RecursiveArgs::each(func_get_args(), function ($arg) {
38
+        RecursiveArgs::each(func_get_args(), function($arg) {
39 39
             $this->groupByClauses[] = $arg;
40 40
         });
41 41
 
Please login to merge, or discard this patch.
src/QueryBuilder/Clause/SelectTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function addGroupBy($_)
37 37
     {
38
-        RecursiveArgs::each(func_get_args(), function ($arg) {
38
+        RecursiveArgs::each(func_get_args(), function($arg) {
39 39
             $this->groupByClauses[] = $arg;
40 40
         });
41 41
 
Please login to merge, or discard this patch.