Passed
Push — master ( 087136...565c26 )
by Aleksei
02:30
created
src/Migrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
             try {
156 156
                 $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase()));
157 157
                 $capsule->getDatabase()->transaction(
158
-                    static function () use ($migration, $capsule): void {
158
+                    static function() use ($migration, $capsule): void {
159 159
                         $migration->withCapsule($capsule)->up();
160 160
                     }
161 161
                 );
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 
213 213
             $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase()));
214 214
             $capsule->getDatabase()->transaction(
215
-                static function () use ($migration, $capsule): void {
215
+                static function() use ($migration, $capsule): void {
216 216
                     $migration->withCapsule($capsule)->down();
217 217
                 }
218 218
             );
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
             }
281 281
         }
282 282
 
283
-        return ! (!$table->hasIndex(['migration', 'created_at']))
283
+        return !(!$table->hasIndex(['migration', 'created_at']))
284 284
 
285 285
 
286 286
 
Please login to merge, or discard this patch.