Passed
Push — 3.x ( ac5d09...524973 )
by Aleksei
12:30
created
src/Migrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             try {
120 120
                 $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase()));
121 121
                 $capsule->getDatabase($migration->getDatabase())->transaction(
122
-                    static function () use ($migration, $capsule): void {
122
+                    static function() use ($migration, $capsule): void {
123 123
                         $migration->withCapsule($capsule)->up();
124 124
                     }
125 125
                 );
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
                         ),
145 145
                         $exception->getMessage()
146 146
                     ),
147
-                    (int)$exception->getCode(),
147
+                    (int) $exception->getCode(),
148 148
                     $exception
149 149
                 );
150 150
             }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 
173 173
             $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase()));
174 174
             $capsule->getDatabase()->transaction(
175
-                static function () use ($migration, $capsule): void {
175
+                static function() use ($migration, $capsule): void {
176 176
                     $migration->withCapsule($capsule)->down();
177 177
                 }
178 178
             );
Please login to merge, or discard this patch.