@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | $factory = clone $this->factory; |
120 | 120 | |
121 | 121 | $loader = Closure::bind( |
122 | - static function (Autowire $autowire) use ($factory, $orm, $relation, $schema): LoaderInterface { |
|
122 | + static function(Autowire $autowire) use ($factory, $orm, $relation, $schema): LoaderInterface { |
|
123 | 123 | return $factory->createInstance( |
124 | 124 | $autowire->alias, |
125 | 125 | [ |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | $factory = clone $this->factory; |
152 | 152 | |
153 | 153 | $relation = Closure::bind( |
154 | - static function (Autowire $autowire) use ($factory, $orm, $relation, $relSchema): RelationInterface { |
|
154 | + static function(Autowire $autowire) use ($factory, $orm, $relation, $relSchema): RelationInterface { |
|
155 | 155 | return $factory->createInstance( |
156 | 156 | $autowire->alias, |
157 | 157 | [ |
@@ -236,7 +236,7 @@ |
||
236 | 236 | |
237 | 237 | try { |
238 | 238 | $driverObject = Closure::bind( |
239 | - static function (Autowire $autowire) use ($factory): DriverInterface { |
|
239 | + static function(Autowire $autowire) use ($factory): DriverInterface { |
|
240 | 240 | return $factory->createInstance($autowire->alias, $autowire->parameters); |
241 | 241 | }, |
242 | 242 | null, |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | try { |
170 | 170 | $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase())); |
171 | 171 | $capsule->getDatabase($migration->getDatabase())->transaction( |
172 | - static function () use ($migration, $capsule): void { |
|
172 | + static function() use ($migration, $capsule): void { |
|
173 | 173 | $migration->withCapsule($capsule)->up(); |
174 | 174 | } |
175 | 175 | ); |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | |
227 | 227 | $capsule = $capsule ?? new Capsule($this->dbal->database($migration->getDatabase())); |
228 | 228 | $capsule->getDatabase()->transaction( |
229 | - static function () use ($migration, $capsule): void { |
|
229 | + static function() use ($migration, $capsule): void { |
|
230 | 230 | $migration->withCapsule($capsule)->down(); |
231 | 231 | } |
232 | 232 | ); |