@@ -119,7 +119,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | ); |