Completed
Push — master ( da1891...eebb53 )
by Anton
03:32
created
source/Spiral/Database/Drivers/SQLite/Schemas/TableSchema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
     {
164 164
         //Temporary table is required to copy data over
165 165
         $temporary = clone $this;
166
-        $temporary->setName('spiral_temp_' . $this->getName() . '_' . uniqid());
166
+        $temporary->setName('spiral_temp_'.$this->getName().'_'.uniqid());
167 167
 
168 168
         //We don't need any index in temporary table
169 169
         foreach ($temporary->getIndexes() as $index) {
Please login to merge, or discard this patch.
source/Spiral/Database/Drivers/SQLite/Schemas/ColumnSchema.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
             $enumValues[] = $this->table->driver()->getPDO()->quote($value);
116 116
         }
117 117
 
118
-        return "$statement CHECK ({$this->getName(true)} IN (" . join(', ', $enumValues) . "))";
118
+        return "$statement CHECK ({$this->getName(true)} IN (".join(', ', $enumValues)."))";
119 119
     }
120 120
 
121 121
     /**
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             }
168 168
         }
169 169
 
170
-        $options = array_map(function ($value) {
170
+        $options = array_map(function($value) {
171 171
             return intval($value);
172 172
         }, explode(',', $options));
173 173
 
Please login to merge, or discard this patch.
source/Spiral/Database/Injections/Parameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     {
109 109
         if (is_array($this->value)) {
110 110
             //Array were mocked
111
-            return '(' . trim(str_repeat('?, ', count($this->value)), ', ') . ')';
111
+            return '('.trim(str_repeat('?, ', count($this->value)), ', ').')';
112 112
         }
113 113
 
114 114
         return '?';
Please login to merge, or discard this patch.