Completed
Pull Request — master (#6566)
by Joas
68:30 queued 50:42
created
apps/twofactor_backupcodes/lib/Migration/Version1002Date20170919123342.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,27 +30,27 @@
 block discarded – undo
30 30
 
31 31
 class Version1002Date20170919123342 extends SimpleMigrationStep {
32 32
 
33
-	/**
34
-	 * @param IOutput $output
35
-	 * @param \Closure $schemaClosure The `\Closure` returns a `Schema`
36
-	 * @param array $options
37
-	 * @return null|Schema
38
-	 * @since 13.0.0
39
-	 */
40
-	public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
41
-		/** @var Schema $schema */
42
-		$schema = $schemaClosure();
33
+    /**
34
+     * @param IOutput $output
35
+     * @param \Closure $schemaClosure The `\Closure` returns a `Schema`
36
+     * @param array $options
37
+     * @return null|Schema
38
+     * @since 13.0.0
39
+     */
40
+    public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
41
+        /** @var Schema $schema */
42
+        $schema = $schemaClosure();
43 43
 
44
-		$table = $schema->getTable('twofactor_backupcodes');
45
-		$column = $table->getColumn('user_id');
46
-		$column->setDefault('');
44
+        $table = $schema->getTable('twofactor_backupcodes');
45
+        $column = $table->getColumn('user_id');
46
+        $column->setDefault('');
47 47
 
48
-		$column = $table->getColumn('used');
49
-		if ($column->getType()->getName() !== Type::SMALLINT) {
50
-			$column->setType(Type::getType(Type::SMALLINT));
51
-			$column->setOptions(['length' => 6]);
52
-		}
48
+        $column = $table->getColumn('used');
49
+        if ($column->getType()->getName() !== Type::SMALLINT) {
50
+            $column->setType(Type::getType(Type::SMALLINT));
51
+            $column->setOptions(['length' => 6]);
52
+        }
53 53
 
54
-		return $schema;
55
-	}
54
+        return $schema;
55
+    }
56 56
 }
Please login to merge, or discard this patch.