Completed
Push — master ( 5a0146...15be19 )
by mark
18s queued 13s
created
src/Phinx/Db/Adapter/MysqlAdapter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -267,9 +267,9 @@  discard block
 block discarded – undo
267 267
             // Handle id => "field_name" to support AUTO_INCREMENT
268 268
             $column = new Column();
269 269
             $column->setName($options['id'])
270
-                   ->setType('integer')
271
-                   ->setSigned($options['signed'] ?? true)
272
-                   ->setIdentity(true);
270
+                    ->setType('integer')
271
+                    ->setSigned($options['signed'] ?? true)
272
+                    ->setIdentity(true);
273 273
 
274 274
             if (isset($options['limit'])) {
275 275
                 $column->setLimit($options['limit']);
@@ -442,11 +442,11 @@  discard block
 block discarded – undo
442 442
 
443 443
             $column = new Column();
444 444
             $column->setName($columnInfo['Field'])
445
-                   ->setNull($columnInfo['Null'] !== 'NO')
446
-                   ->setType($phinxType['name'])
447
-                   ->setSigned(strpos($columnInfo['Type'], 'unsigned') === false)
448
-                   ->setLimit($phinxType['limit'])
449
-                   ->setScale($phinxType['scale']);
445
+                    ->setNull($columnInfo['Null'] !== 'NO')
446
+                    ->setType($phinxType['name'])
447
+                    ->setSigned(strpos($columnInfo['Type'], 'unsigned') === false)
448
+                    ->setLimit($phinxType['limit'])
449
+                    ->setScale($phinxType['scale']);
450 450
 
451 451
             if ($columnInfo['Extra'] === 'auto_increment') {
452 452
                 $column->setIdentity(true);
Please login to merge, or discard this patch.