Passed
Push — master ( db4bb1...1d09db )
by Dominik
02:24
created
src/DoctrineOrmServiceProvider.php 2 patches
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     /**
135 135
      * @param Container $container
136 136
      *
137
-     * @return callable
137
+     * @return \Closure
138 138
      */
139 139
     private function getOrmEmsDefinition(Container $container): callable
140 140
     {
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     /**
167 167
      * @param Container $container
168 168
      *
169
-     * @return callable
169
+     * @return \Closure
170 170
      */
171 171
     private function getOrmEmsConfigServiceProvider(Container $container): callable
172 172
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      * @param string    $name
188 188
      * @param array     $options
189 189
      *
190
-     * @return callable
190
+     * @return \Closure
191 191
      */
192 192
     private function getOrmEmConfigByNameAndOptionsDefinition(
193 193
         Container $container,
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
     /**
529 529
      * @param Container $container
530 530
      *
531
-     * @return callable
531
+     * @return \Closure
532 532
      */
533 533
     private function getOrmNamingStrategyDefinition(Container $container): callable
534 534
     {
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
     /**
541 541
      * @param Container $container
542 542
      *
543
-     * @return callable
543
+     * @return \Closure
544 544
      */
545 545
     private function getOrmQuoteStrategyDefinition(Container $container): callable
546 546
     {
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
     /**
553 553
      * @param Container $container
554 554
      *
555
-     * @return callable
555
+     * @return \Closure
556 556
      */
557 557
     private function getOrmEntityListenerResolverDefinition(Container $container): callable
558 558
     {
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
     /**
565 565
      * @param Container $container
566 566
      *
567
-     * @return callable
567
+     * @return \Closure
568 568
      */
569 569
     private function getOrmRepositoryFactoryDefinition(Container $container): callable
570 570
     {
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
     /**
577 577
      * @param Container $container
578 578
      *
579
-     * @return callable
579
+     * @return \Closure
580 580
      */
581 581
     private function getOrmSecondLevelCacheConfigurationDefinition(Container $container): callable
582 582
     {
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
     /**
589 589
      * @param Container $container
590 590
      *
591
-     * @return callable
591
+     * @return \Closure
592 592
      */
593 593
     private function getOrmEmDefinition(Container $container): callable
594 594
     {
@@ -602,7 +602,7 @@  discard block
 block discarded – undo
602 602
     /**
603 603
      * @param Container $container
604 604
      *
605
-     * @return callable
605
+     * @return \Closure
606 606
      */
607 607
     private function getOrmEmConfigDefinition(Container $container): callable
608 608
     {
Please login to merge, or discard this patch.
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     private function getOrmEmsOptionsInitializerDefinition(Container $container): callable
105 105
     {
106
-        return $container->protect(function () use ($container) {
106
+        return $container->protect(function() use ($container) {
107 107
             static $initialized = false;
108 108
 
109 109
             if ($initialized) {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     private function getOrmEmsDefinition(Container $container): callable
140 140
     {
141
-        return function () use ($container) {
141
+        return function() use ($container) {
142 142
             $container['orm.ems.options.initializer']();
143 143
 
144 144
             $ems = new Container();
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
                     $config = $container['orm.ems.config'][$name];
151 151
                 }
152 152
 
153
-                $ems[$name] = function () use ($container, $options, $config) {
153
+                $ems[$name] = function() use ($container, $options, $config) {
154 154
                     return EntityManager::create(
155 155
                         $container['dbs'][$options['connection']],
156 156
                         $config,
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      */
171 171
     private function getOrmEmsConfigServiceProvider(Container $container): callable
172 172
     {
173
-        return function () use ($container) {
173
+        return function() use ($container) {
174 174
             $container['orm.ems.options.initializer']();
175 175
 
176 176
             $configs = new Container();
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
         string $name,
195 195
         array $options
196 196
     ): callable {
197
-        return function () use ($container, $name, $options) {
197
+        return function() use ($container, $name, $options) {
198 198
             $config = new Configuration();
199 199
 
200 200
             $config->setProxyDir($container['orm.proxies_dir']);
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
      */
247 247
     private function getOrmMappingDriverChainDefinition(Container $container): callable
248 248
     {
249
-        return $container->protect(function (string $name, Configuration $config, array $mappings) use ($container) {
249
+        return $container->protect(function(string $name, Configuration $config, array $mappings) use ($container) {
250 250
             $container['orm.ems.options.initializer']();
251 251
 
252 252
             /** @var MappingDriverChain $chain */
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
      */
284 284
     private function getOrmMappingDriverChainFactoryDefinition(Container $container): callable
285 285
     {
286
-        return $container->protect(function () use ($container) {
286
+        return $container->protect(function() use ($container) {
287 287
             return new MappingDriverChain();
288 288
         });
289 289
     }
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
      */
296 296
     private function getOrmMappingDriverFactoryAnnotation(Container $container): callable
297 297
     {
298
-        return $container->protect(function (array $entity, Configuration $config) {
298
+        return $container->protect(function(array $entity, Configuration $config) {
299 299
             $useSimpleAnnotationReader = $entity['use_simple_annotation_reader'] ?? true;
300 300
 
301 301
             return $config->newDefaultAnnotationDriver(
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
      */
313 313
     private function getOrmMappingDriverFactoryYaml(Container $container): callable
314 314
     {
315
-        return $container->protect(function (array $entity, Configuration $config) {
315
+        return $container->protect(function(array $entity, Configuration $config) {
316 316
             return new YamlDriver($entity['path']);
317 317
         });
318 318
     }
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
      */
325 325
     private function getOrmMappingDriverFactorySimpleYaml(Container $container): callable
326 326
     {
327
-        return $container->protect(function (array $entity, Configuration $config) {
327
+        return $container->protect(function(array $entity, Configuration $config) {
328 328
             return new SimplifiedYamlDriver([$entity['path'] => $entity['namespace']]);
329 329
         });
330 330
     }
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
      */
337 337
     private function getOrmMappingDriverFactoryXml(Container $container): callable
338 338
     {
339
-        return $container->protect(function (array $entity, Configuration $config) {
339
+        return $container->protect(function(array $entity, Configuration $config) {
340 340
             return new XmlDriver($entity['path']);
341 341
         });
342 342
     }
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
      */
349 349
     private function getOrmMappingDriverFactorySimpleXml(Container $container): callable
350 350
     {
351
-        return $container->protect(function (array $entity, Configuration $config) {
351
+        return $container->protect(function(array $entity, Configuration $config) {
352 352
             return new SimplifiedXmlDriver([$entity['path'] => $entity['namespace']]);
353 353
         });
354 354
     }
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
      */
361 361
     private function getOrmMappingDriverFactoryPhp(Container $container): callable
362 362
     {
363
-        return $container->protect(function (array $entity, Configuration $config) {
363
+        return $container->protect(function(array $entity, Configuration $config) {
364 364
             return new StaticPHPDriver($entity['path']);
365 365
         });
366 366
     }
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
      */
373 373
     private function getOrmCacheLocatorDefinition(Container $container): callable
374 374
     {
375
-        return $container->protect(function (string $name, string $cacheName, array $options) use ($container) {
375
+        return $container->protect(function(string $name, string $cacheName, array $options) use ($container) {
376 376
             $cacheNameKey = $cacheName.'_cache';
377 377
 
378 378
             if (!isset($options[$cacheNameKey])) {
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
      */
409 409
     private function getOrmCacheFactoryDefinition(Container $container): callable
410 410
     {
411
-        return $container->protect(function (string $driver, array $cacheOptions) use ($container) {
411
+        return $container->protect(function(string $driver, array $cacheOptions) use ($container) {
412 412
             $cacheFactoryKey = 'orm.cache.factory.'.$driver;
413 413
             if (!isset($container[$cacheFactoryKey])) {
414 414
                 throw new \RuntimeException(
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
      */
428 428
     private function getOrmCacheFactoryApcuDefinition(Container $container): callable
429 429
     {
430
-        return $container->protect(function (array $cacheOptions) use ($container) {
430
+        return $container->protect(function(array $cacheOptions) use ($container) {
431 431
             return new ApcuCache();
432 432
         });
433 433
     }
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
439 439
      */
440 440
     private function getOrmCacheFactoryArrayDefinition(Container $container): callable
441 441
     {
442
-        return $container->protect(function (array $cacheOptions) use ($container) {
442
+        return $container->protect(function(array $cacheOptions) use ($container) {
443 443
             return new ArrayCache();
444 444
         });
445 445
     }
@@ -451,7 +451,7 @@  discard block
 block discarded – undo
451 451
      */
452 452
     private function getOrmCacheFactoryFilesystemDefinition(Container $container): callable
453 453
     {
454
-        return $container->protect(function (array $cacheOptions) {
454
+        return $container->protect(function(array $cacheOptions) {
455 455
             if (empty($cacheOptions['path'])) {
456 456
                 throw new \RuntimeException('FilesystemCache path not defined');
457 457
             }
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
      */
473 473
     private function getOrmCacheFactoryMemcachedDefinition(Container $container): callable
474 474
     {
475
-        return $container->protect(function (array $cacheOptions) use ($container) {
475
+        return $container->protect(function(array $cacheOptions) use ($container) {
476 476
             if (empty($cacheOptions['host']) || empty($cacheOptions['port'])) {
477 477
                 throw new \RuntimeException('Host and port options need to be specified for memcached cache');
478 478
             }
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
      */
495 495
     private function getOrmCacheFactoryRedisDefinition(Container $container): callable
496 496
     {
497
-        return $container->protect(function (array $cacheOptions) use ($container) {
497
+        return $container->protect(function(array $cacheOptions) use ($container) {
498 498
             if (empty($cacheOptions['host']) || empty($cacheOptions['port'])) {
499 499
                 throw new \RuntimeException('Host and port options need to be specified for redis cache');
500 500
             }
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
      */
521 521
     private function getOrmCacheFactoryXCacheDefinition(Container $container): callable
522 522
     {
523
-        return $container->protect(function (array $cacheOptions) use ($container) {
523
+        return $container->protect(function(array $cacheOptions) use ($container) {
524 524
             return new XcacheCache();
525 525
         });
526 526
     }
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
      */
533 533
     private function getOrmNamingStrategyDefinition(Container $container): callable
534 534
     {
535
-        return function () use ($container) {
535
+        return function() use ($container) {
536 536
             return new DefaultNamingStrategy();
537 537
         };
538 538
     }
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
      */
545 545
     private function getOrmQuoteStrategyDefinition(Container $container): callable
546 546
     {
547
-        return function () use ($container) {
547
+        return function() use ($container) {
548 548
             return new DefaultQuoteStrategy();
549 549
         };
550 550
     }
@@ -556,7 +556,7 @@  discard block
 block discarded – undo
556 556
      */
557 557
     private function getOrmEntityListenerResolverDefinition(Container $container): callable
558 558
     {
559
-        return function () use ($container) {
559
+        return function() use ($container) {
560 560
             return new DefaultEntityListenerResolver();
561 561
         };
562 562
     }
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
      */
569 569
     private function getOrmRepositoryFactoryDefinition(Container $container): callable
570 570
     {
571
-        return function () use ($container) {
571
+        return function() use ($container) {
572 572
             return new DefaultRepositoryFactory();
573 573
         };
574 574
     }
@@ -580,7 +580,7 @@  discard block
 block discarded – undo
580 580
      */
581 581
     private function getOrmSecondLevelCacheConfigurationDefinition(Container $container): callable
582 582
     {
583
-        return function () use ($container) {
583
+        return function() use ($container) {
584 584
             return new CacheConfiguration();
585 585
         };
586 586
     }
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
      */
593 593
     private function getOrmEmDefinition(Container $container): callable
594 594
     {
595
-        return function () use ($container) {
595
+        return function() use ($container) {
596 596
             $ems = $container['orm.ems'];
597 597
 
598 598
             return $ems[$container['orm.ems.default']];
@@ -606,7 +606,7 @@  discard block
 block discarded – undo
606 606
      */
607 607
     private function getOrmEmConfigDefinition(Container $container): callable
608 608
     {
609
-        return function () use ($container) {
609
+        return function() use ($container) {
610 610
             $configs = $container['orm.ems.config'];
611 611
 
612 612
             return $configs[$container['orm.ems.default']];
Please login to merge, or discard this patch.
src/MonologServiceProvider.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param Container $container
38 38
      *
39
-     * @return callable
39
+     * @return \Closure
40 40
      */
41 41
     private function getLoggerDefinition(Container $container): callable
42 42
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * @param Container $container
50 50
      *
51
-     * @return callable
51
+     * @return \Closure
52 52
      */
53 53
     private function getMonologDefinition(Container $container): callable
54 54
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * @param Container $container
65 65
      *
66
-     * @return callable
66
+     * @return \Closure
67 67
      */
68 68
     private function getMonologFormatterDefinition(Container $container): callable
69 69
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     /**
76 76
      * @param Container $container
77 77
      *
78
-     * @return callable
78
+     * @return \Closure
79 79
      */
80 80
     private function getMonologHandlersDefinition(Container $container): callable
81 81
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * @param Container $container
89 89
      *
90
-     * @return callable
90
+     * @return \Closure
91 91
      */
92 92
     private function getMonologDefaultHandlerDefinition(Container $container): callable
93 93
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     private function getLoggerDefinition(Container $container): callable
42 42
     {
43
-        return function () use ($container) {
43
+        return function() use ($container) {
44 44
             return $container['monolog'];
45 45
         };
46 46
     }
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     private function getMonologDefinition(Container $container): callable
54 54
     {
55
-        return function ($container) {
55
+        return function($container) {
56 56
             $log = new Logger($container['monolog.name']);
57 57
             $log->pushHandler(new GroupHandler($container['monolog.handlers']));
58 58
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     private function getMonologFormatterDefinition(Container $container): callable
69 69
     {
70
-        return function () {
70
+        return function() {
71 71
             return new LineFormatter();
72 72
         };
73 73
     }
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     private function getMonologHandlersDefinition(Container $container): callable
81 81
     {
82
-        return function () use ($container) {
82
+        return function() use ($container) {
83 83
             return [$container['monolog.default_handler']];
84 84
         };
85 85
     }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     private function getMonologDefaultHandlerDefinition(Container $container): callable
93 93
     {
94
-        return function () use ($container) {
94
+        return function() use ($container) {
95 95
             $handler = new StreamHandler(
96 96
                 $container['monolog.logfile'],
97 97
                 $container['monolog.level'],
Please login to merge, or discard this patch.
src/DoctrineDbalServiceProvider.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     private function getDbsOptionsInitializerDefinition(Container $container): callable
55 55
     {
56
-        return $container->protect(function () use ($container) {
56
+        return $container->protect(function() use ($container) {
57 57
             static $initialized = false;
58 58
 
59 59
             if ($initialized) {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     private function getDbsDefinition(Container $container): callable
90 90
     {
91
-        return function () use ($container) {
91
+        return function() use ($container) {
92 92
             $container['dbs.options.initializer']();
93 93
 
94 94
             $dbs = new Container();
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
                     $manager = $container['dbs.event_manager'][$name];
103 103
                 }
104 104
 
105
-                $dbs[$name] = function () use ($options, $config, $manager) {
105
+                $dbs[$name] = function() use ($options, $config, $manager) {
106 106
                     return DriverManager::getConnection($options, $config, $manager);
107 107
                 };
108 108
             }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     private function getDbsConfigDefinition(Container $container): callable
120 120
     {
121
-        return function () use ($container) {
121
+        return function() use ($container) {
122 122
             $container['dbs.options.initializer']();
123 123
 
124 124
             $addLogger = isset($container['logger']) && null !== $container['logger']
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
             $configs = new Container();
129 129
             foreach ($container['dbs.options'] as $name => $options) {
130
-                $configs[$name] = function () use ($addLogger, $container, $stopwatch) {
130
+                $configs[$name] = function() use ($addLogger, $container, $stopwatch) {
131 131
                     $config = new Configuration();
132 132
                     if ($addLogger) {
133 133
                         $config->setSQLLogger(
@@ -150,12 +150,12 @@  discard block
 block discarded – undo
150 150
      */
151 151
     private function getDbsEventManagerDefinition(Container $container): callable
152 152
     {
153
-        return function () use ($container) {
153
+        return function() use ($container) {
154 154
             $container['dbs.options.initializer']();
155 155
 
156 156
             $managers = new Container();
157 157
             foreach ($container['dbs.options'] as $name => $options) {
158
-                $managers[$name] = function () {
158
+                $managers[$name] = function() {
159 159
                     return new EventManager();
160 160
                 };
161 161
             }
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      */
171 171
     private function getDbDefinition(Container $container): callable
172 172
     {
173
-        return function () use ($container) {
173
+        return function() use ($container) {
174 174
             $dbs = $container['dbs'];
175 175
 
176 176
             return $dbs[$container['dbs.default']];
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     private function getDbConfigDefinition(Container $container): callable
185 185
     {
186
-        return function () use ($container) {
186
+        return function() use ($container) {
187 187
             $dbs = $container['dbs.config'];
188 188
 
189 189
             return $dbs[$container['dbs.default']];
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      */
197 197
     private function getDbEventManagerDefinition(Container $container): callable
198 198
     {
199
-        return function () use ($container) {
199
+        return function() use ($container) {
200 200
             $dbs = $container['dbs.event_manager'];
201 201
 
202 202
             return $dbs[$container['dbs.default']];
Please login to merge, or discard this patch.
src/DoctrineMongoDbServiceProvider.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     private function getMongoDbsOptionsInitializerDefinition(Container $container): callable
51 51
     {
52
-        return $container->protect(function () use ($container) {
52
+        return $container->protect(function() use ($container) {
53 53
             static $initialized = false;
54 54
 
55 55
             if ($initialized) {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     private function getMongoDbsDefinition(Container $container): callable
86 86
     {
87
-        return function () use ($container) {
87
+        return function() use ($container) {
88 88
             $container['mongodbs.options.initializer']();
89 89
 
90 90
             $mongodbs = new Container();
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                     $manager = $container['mongodbs.event_manager'][$name];
99 99
                 }
100 100
 
101
-                $mongodbs[$name] = function () use ($options, $config, $manager) {
101
+                $mongodbs[$name] = function() use ($options, $config, $manager) {
102 102
                     return new Connection($options['server'], $options['options'], $config, $manager);
103 103
                 };
104 104
             }
@@ -114,14 +114,14 @@  discard block
 block discarded – undo
114 114
      */
115 115
     private function getMongoDbsConfigDefinition(Container $container): callable
116 116
     {
117
-        return function () use ($container) {
117
+        return function() use ($container) {
118 118
             $container['mongodbs.options.initializer']();
119 119
 
120 120
             $configs = new Container();
121 121
 
122 122
             $addLogger = isset($container['logger']) && null !== $container['logger'];
123 123
             foreach ($container['mongodbs.options'] as $name => $options) {
124
-                $configs[$name] = function () use ($addLogger, $container) {
124
+                $configs[$name] = function() use ($addLogger, $container) {
125 125
                     $config = new Configuration();
126 126
                     if ($addLogger) {
127 127
                         $logger = new DoctrineMongoDbLogger(
@@ -147,12 +147,12 @@  discard block
 block discarded – undo
147 147
      */
148 148
     private function getMongoDbsEventManagerDefinition(Container $container): callable
149 149
     {
150
-        return function () use ($container) {
150
+        return function() use ($container) {
151 151
             $container['mongodbs.options.initializer']();
152 152
 
153 153
             $managers = new Container();
154 154
             foreach ($container['mongodbs.options'] as $name => $options) {
155
-                $managers[$name] = function () {
155
+                $managers[$name] = function() {
156 156
                     return new EventManager();
157 157
                 };
158 158
             }
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      */
168 168
     private function getMongoDbDefinition(Container $container): callable
169 169
     {
170
-        return function () use ($container) {
170
+        return function() use ($container) {
171 171
             $dbs = $container['mongodbs'];
172 172
 
173 173
             return $dbs[$container['mongodbs.default']];
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      */
181 181
     private function getMongoDbConfigDefinition(Container $container): callable
182 182
     {
183
-        return function () use ($container) {
183
+        return function() use ($container) {
184 184
             $dbs = $container['mongodbs.config'];
185 185
 
186 186
             return $dbs[$container['mongodbs.default']];
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      */
194 194
     private function getMongoDbEventManagerDefinition(Container $container): callable
195 195
     {
196
-        return function () use ($container) {
196
+        return function() use ($container) {
197 197
             $dbs = $container['mongodbs.event_manager'];
198 198
 
199 199
             return $dbs[$container['mongodbs.default']];
Please login to merge, or discard this patch.