@@ -163,7 +163,7 @@ |
||
| 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) { |
@@ -115,7 +115,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -108,7 +108,7 @@ |
||
| 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 '?'; |