Passed
Branch master (d22c28)
by Divine Niiquaye
10:31
created
Category
src/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
                     [
Please login to merge, or discard this patch.
src/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Migrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             );
Please login to merge, or discard this patch.