@@ -171,7 +171,7 @@ |
||
| 171 | 171 | $output->writeln( |
| 172 | 172 | sprintf( |
| 173 | 173 | '<info>Created database <comment>%s</comment>' |
| 174 | - .' for connection named <comment>%s</comment>.</info>', |
|
| 174 | + .' for connection named <comment>%s</comment>.</info>', |
|
| 175 | 175 | $dbName, |
| 176 | 176 | $connectionName |
| 177 | 177 | ) |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | |
| 69 | 69 | private function getOrmEmDefinition(Container $container): callable |
| 70 | 70 | { |
| 71 | - return static function () use ($container) { |
|
| 71 | + return static function() use ($container) { |
|
| 72 | 72 | $ems = $container['doctrine.orm.ems']; |
| 73 | 73 | |
| 74 | 74 | return $ems[$container['doctrine.orm.ems.default']]; |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | private function getOrmEmConfigDefinition(Container $container): callable |
| 79 | 79 | { |
| 80 | - return static function () use ($container) { |
|
| 80 | + return static function() use ($container) { |
|
| 81 | 81 | $configs = $container['doctrine.orm.ems.config']; |
| 82 | 82 | |
| 83 | 83 | return $configs[$container['doctrine.orm.ems.default']]; |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | private function getOrmEmFactory(Container $container): callable |
| 118 | 118 | { |
| 119 | 119 | return $container->protect( |
| 120 | - static function (Connection $connection, Configuration $config, EventManager $eventManager) { |
|
| 120 | + static function(Connection $connection, Configuration $config, EventManager $eventManager) { |
|
| 121 | 121 | return EntityManager::create($connection, $config, $eventManager); |
| 122 | 122 | } |
| 123 | 123 | ); |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | |
| 126 | 126 | private function getOrmEmsDefinition(Container $container): callable |
| 127 | 127 | { |
| 128 | - return static function () use ($container) { |
|
| 128 | + return static function() use ($container) { |
|
| 129 | 129 | $container['doctrine.orm.ems.options.initializer'](); |
| 130 | 130 | |
| 131 | 131 | $ems = new Container(); |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | $config = $container['doctrine.orm.ems.config'][$name]; |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | - $ems[$name] = static function () use ($container, $options, $config) { |
|
| 139 | + $ems[$name] = static function() use ($container, $options, $config) { |
|
| 140 | 140 | return $container['doctrine.orm.em.factory']( |
| 141 | 141 | $container['doctrine.dbal.dbs'][$options['connection']], |
| 142 | 142 | $config, |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | |
| 152 | 152 | private function getOrmEmsConfigServiceProvider(Container $container): callable |
| 153 | 153 | { |
| 154 | - return function () use ($container) { |
|
| 154 | + return function() use ($container) { |
|
| 155 | 155 | $container['doctrine.orm.ems.options.initializer'](); |
| 156 | 156 | |
| 157 | 157 | $configs = new Container(); |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | |
| 249 | 249 | private function getOrmEmsOptionsInitializerDefinition(Container $container): callable |
| 250 | 250 | { |
| 251 | - return $container->protect(static function () use ($container): void { |
|
| 251 | + return $container->protect(static function() use ($container): void { |
|
| 252 | 252 | static $initialized = false; |
| 253 | 253 | |
| 254 | 254 | if ($initialized) { |
@@ -278,42 +278,42 @@ discard block |
||
| 278 | 278 | |
| 279 | 279 | private function getOrmEntityListenerResolverDefinition(): callable |
| 280 | 280 | { |
| 281 | - return static function () { |
|
| 281 | + return static function() { |
|
| 282 | 282 | return new DefaultEntityListenerResolver(); |
| 283 | 283 | }; |
| 284 | 284 | } |
| 285 | 285 | |
| 286 | 286 | private function getOrmManagerRegistryDefintion(Container $container): callable |
| 287 | 287 | { |
| 288 | - return static function () use ($container) { |
|
| 288 | + return static function() use ($container) { |
|
| 289 | 289 | return new DoctrineOrmManagerRegistry($container); |
| 290 | 290 | }; |
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | private function getOrmMappingDriverFactoryAnnotation(Container $container): callable |
| 294 | 294 | { |
| 295 | - return $container->protect(static function (array $mapping, Configuration $config) { |
|
| 295 | + return $container->protect(static function(array $mapping, Configuration $config) { |
|
| 296 | 296 | return $config->newDefaultAnnotationDriver((array) $mapping['path'], false); |
| 297 | 297 | }); |
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | private function getOrmMappingDriverFactoryClassMap(Container $container): callable |
| 301 | 301 | { |
| 302 | - return $container->protect(static function (array $mapping) { |
|
| 302 | + return $container->protect(static function(array $mapping) { |
|
| 303 | 303 | return new ClassMapDriver($mapping['map']); |
| 304 | 304 | }); |
| 305 | 305 | } |
| 306 | 306 | |
| 307 | 307 | private function getOrmMappingDriverFactoryPhp(Container $container): callable |
| 308 | 308 | { |
| 309 | - return $container->protect(static function (array $mapping) { |
|
| 309 | + return $container->protect(static function(array $mapping) { |
|
| 310 | 310 | return new PHPDriver($mapping['path']); |
| 311 | 311 | }); |
| 312 | 312 | } |
| 313 | 313 | |
| 314 | 314 | private function getOrmMappingDriverFactorySimpleYaml(Container $container): callable |
| 315 | 315 | { |
| 316 | - return $container->protect(static function (array $mapping) { |
|
| 316 | + return $container->protect(static function(array $mapping) { |
|
| 317 | 317 | return new SimplifiedYamlDriver( |
| 318 | 318 | [$mapping['path'] => $mapping['namespace']], |
| 319 | 319 | $mapping['extension'] ?? SimplifiedYamlDriver::DEFAULT_FILE_EXTENSION |
@@ -323,7 +323,7 @@ discard block |
||
| 323 | 323 | |
| 324 | 324 | private function getOrmMappingDriverFactorySimpleXml(Container $container): callable |
| 325 | 325 | { |
| 326 | - return $container->protect(static function (array $mapping) { |
|
| 326 | + return $container->protect(static function(array $mapping) { |
|
| 327 | 327 | return new SimplifiedXmlDriver( |
| 328 | 328 | [$mapping['path'] => $mapping['namespace']], |
| 329 | 329 | $mapping['extension'] ?? SimplifiedXmlDriver::DEFAULT_FILE_EXTENSION |
@@ -333,28 +333,28 @@ discard block |
||
| 333 | 333 | |
| 334 | 334 | private function getOrmMappingDriverFactoryStaticPhp(Container $container): callable |
| 335 | 335 | { |
| 336 | - return $container->protect(static function (array $mapping) { |
|
| 336 | + return $container->protect(static function(array $mapping) { |
|
| 337 | 337 | return new StaticPHPDriver($mapping['path']); |
| 338 | 338 | }); |
| 339 | 339 | } |
| 340 | 340 | |
| 341 | 341 | private function getOrmMappingDriverFactoryYaml(Container $container): callable |
| 342 | 342 | { |
| 343 | - return $container->protect(static function (array $mapping) { |
|
| 343 | + return $container->protect(static function(array $mapping) { |
|
| 344 | 344 | return new YamlDriver($mapping['path'], $mapping['extension'] ?? YamlDriver::DEFAULT_FILE_EXTENSION); |
| 345 | 345 | }); |
| 346 | 346 | } |
| 347 | 347 | |
| 348 | 348 | private function getOrmMappingDriverFactoryXml(Container $container): callable |
| 349 | 349 | { |
| 350 | - return $container->protect(static function (array $mapping) { |
|
| 350 | + return $container->protect(static function(array $mapping) { |
|
| 351 | 351 | return new XmlDriver($mapping['path'], $mapping['extension'] ?? XmlDriver::DEFAULT_FILE_EXTENSION); |
| 352 | 352 | }); |
| 353 | 353 | } |
| 354 | 354 | |
| 355 | 355 | private function getOrmMappingDriverChainDefinition(Container $container): callable |
| 356 | 356 | { |
| 357 | - return $container->protect(static function (Configuration $config, array $mappings) use ($container) { |
|
| 357 | + return $container->protect(static function(Configuration $config, array $mappings) use ($container) { |
|
| 358 | 358 | $chain = new MappingDriverChain(); |
| 359 | 359 | foreach ($mappings as $mapping) { |
| 360 | 360 | if (isset($mapping['alias'])) { |
@@ -372,21 +372,21 @@ discard block |
||
| 372 | 372 | |
| 373 | 373 | private function getOrmRepositoryFactoryDefinition(): callable |
| 374 | 374 | { |
| 375 | - return static function () { |
|
| 375 | + return static function() { |
|
| 376 | 376 | return new DefaultRepositoryFactory(); |
| 377 | 377 | }; |
| 378 | 378 | } |
| 379 | 379 | |
| 380 | 380 | private function getOrmNamingStrategyDefinition(): callable |
| 381 | 381 | { |
| 382 | - return static function () { |
|
| 382 | + return static function() { |
|
| 383 | 383 | return new DefaultNamingStrategy(); |
| 384 | 384 | }; |
| 385 | 385 | } |
| 386 | 386 | |
| 387 | 387 | private function getOrmQuoteStrategyDefinition(): callable |
| 388 | 388 | { |
| 389 | - return static function () { |
|
| 389 | + return static function() { |
|
| 390 | 390 | return new DefaultQuoteStrategy(); |
| 391 | 391 | }; |
| 392 | 392 | } |
@@ -41,14 +41,14 @@ discard block |
||
| 41 | 41 | |
| 42 | 42 | private function getDbConnectionRegistryDefintion(Container $container): callable |
| 43 | 43 | { |
| 44 | - return static function () use ($container) { |
|
| 44 | + return static function() use ($container) { |
|
| 45 | 45 | return new DoctrineDbalConnectionRegistry($container); |
| 46 | 46 | }; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | private function getDbDefinition(Container $container): callable |
| 50 | 50 | { |
| 51 | - return static function () use ($container) { |
|
| 51 | + return static function() use ($container) { |
|
| 52 | 52 | $dbs = $container['doctrine.dbal.dbs']; |
| 53 | 53 | |
| 54 | 54 | return $dbs[$container['doctrine.dbal.dbs.default']]; |
@@ -57,21 +57,21 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | private function getDbApcuCacheFactoryDefinition(Container $container): callable |
| 59 | 59 | { |
| 60 | - return $container->protect(static function () { |
|
| 60 | + return $container->protect(static function() { |
|
| 61 | 61 | return new ApcuCache(); |
| 62 | 62 | }); |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | private function getDbArrayCacheFactoryDefinition(Container $container): callable |
| 66 | 66 | { |
| 67 | - return $container->protect(static function () { |
|
| 67 | + return $container->protect(static function() { |
|
| 68 | 68 | return new ArrayCache(); |
| 69 | 69 | }); |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | private function getDbConfigDefinition(Container $container): callable |
| 73 | 73 | { |
| 74 | - return static function () use ($container) { |
|
| 74 | + return static function() use ($container) { |
|
| 75 | 75 | $dbs = $container['doctrine.dbal.dbs.config']; |
| 76 | 76 | |
| 77 | 77 | return $dbs[$container['doctrine.dbal.dbs.default']]; |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | |
| 106 | 106 | private function getDbEventManagerDefinition(Container $container): callable |
| 107 | 107 | { |
| 108 | - return static function () use ($container) { |
|
| 108 | + return static function() use ($container) { |
|
| 109 | 109 | $dbs = $container['doctrine.dbal.dbs.event_manager']; |
| 110 | 110 | |
| 111 | 111 | return $dbs[$container['doctrine.dbal.dbs.default']]; |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | |
| 115 | 115 | private function getDbsDefinition(Container $container): callable |
| 116 | 116 | { |
| 117 | - return static function () use ($container) { |
|
| 117 | + return static function() use ($container) { |
|
| 118 | 118 | $container['doctrine.dbal.dbs.options.initializer'](); |
| 119 | 119 | |
| 120 | 120 | $dbs = new Container(); |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | $manager = $container['doctrine.dbal.dbs.event_manager'][$name]; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | - $dbs[$name] = static function () use ($options, $config, $manager) { |
|
| 130 | + $dbs[$name] = static function() use ($options, $config, $manager) { |
|
| 131 | 131 | return DriverManager::getConnection($options['connection'], $config, $manager); |
| 132 | 132 | }; |
| 133 | 133 | } |
@@ -138,14 +138,14 @@ discard block |
||
| 138 | 138 | |
| 139 | 139 | private function getDbsConfigDefinition(Container $container): callable |
| 140 | 140 | { |
| 141 | - return function () use ($container) { |
|
| 141 | + return function() use ($container) { |
|
| 142 | 142 | $container['doctrine.dbal.dbs.options.initializer'](); |
| 143 | 143 | |
| 144 | 144 | $addLogger = $container['logger'] ?? false; |
| 145 | 145 | |
| 146 | 146 | $configs = new Container(); |
| 147 | 147 | foreach ($container['doctrine.dbal.dbs.options'] as $name => $options) { |
| 148 | - $configs[$name] = function () use ($addLogger, $container, $options) { |
|
| 148 | + $configs[$name] = function() use ($addLogger, $container, $options) { |
|
| 149 | 149 | $configOptions = $options['configuration']; |
| 150 | 150 | |
| 151 | 151 | $config = new Configuration(); |
@@ -187,12 +187,12 @@ discard block |
||
| 187 | 187 | |
| 188 | 188 | private function getDbsEventManagerDefinition(Container $container): callable |
| 189 | 189 | { |
| 190 | - return static function () use ($container) { |
|
| 190 | + return static function() use ($container) { |
|
| 191 | 191 | $container['doctrine.dbal.dbs.options.initializer'](); |
| 192 | 192 | |
| 193 | 193 | $managers = new Container(); |
| 194 | 194 | foreach (array_keys($container['doctrine.dbal.dbs.options']) as $name) { |
| 195 | - $managers[$name] = static function () { |
|
| 195 | + $managers[$name] = static function() { |
|
| 196 | 196 | return new EventManager(); |
| 197 | 197 | }; |
| 198 | 198 | } |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | |
| 204 | 204 | private function getDbsNameDefinition(Container $container): callable |
| 205 | 205 | { |
| 206 | - return static function () use ($container) { |
|
| 206 | + return static function() use ($container) { |
|
| 207 | 207 | $container['doctrine.dbal.dbs.options.initializer'](); |
| 208 | 208 | |
| 209 | 209 | return array_keys($container['doctrine.dbal.dbs.options']); |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | |
| 213 | 213 | private function getDbsOptionsInitializerDefinition(Container $container): callable |
| 214 | 214 | { |
| 215 | - return $container->protect(static function () use ($container): void { |
|
| 215 | + return $container->protect(static function() use ($container): void { |
|
| 216 | 216 | static $initialized = false; |
| 217 | 217 | |
| 218 | 218 | if ($initialized) { |
@@ -39,14 +39,14 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | private function getDbConnectionRegistryDefintion(): \Closure |
| 41 | 41 | { |
| 42 | - return static function (ContainerInterface $container) { |
|
| 42 | + return static function(ContainerInterface $container) { |
|
| 43 | 43 | return new DoctrineDbalConnectionRegistry($container); |
| 44 | 44 | }; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | private function getDbDefinition(): \Closure |
| 48 | 48 | { |
| 49 | - return static function (ContainerInterface $container) { |
|
| 49 | + return static function(ContainerInterface $container) { |
|
| 50 | 50 | /** @var Container $dbs */ |
| 51 | 51 | $dbs = $container->get('doctrine.dbal.dbs'); |
| 52 | 52 | |
@@ -56,8 +56,8 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | private function getDbApcuCacheFactoryDefinition(): \Closure |
| 58 | 58 | { |
| 59 | - return static function () { |
|
| 60 | - return static function () { |
|
| 59 | + return static function() { |
|
| 60 | + return static function() { |
|
| 61 | 61 | return new ApcuCache(); |
| 62 | 62 | }; |
| 63 | 63 | }; |
@@ -65,8 +65,8 @@ discard block |
||
| 65 | 65 | |
| 66 | 66 | private function getDbArrayCacheFactoryDefinition(): \Closure |
| 67 | 67 | { |
| 68 | - return static function () { |
|
| 69 | - return static function () { |
|
| 68 | + return static function() { |
|
| 69 | + return static function() { |
|
| 70 | 70 | return new ArrayCache(); |
| 71 | 71 | }; |
| 72 | 72 | }; |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | private function getDbConfigDefinition(): \Closure |
| 76 | 76 | { |
| 77 | - return static function (ContainerInterface $container) { |
|
| 77 | + return static function(ContainerInterface $container) { |
|
| 78 | 78 | /** @var Container $dbsConfigs */ |
| 79 | 79 | $dbsConfigs = $container->get('doctrine.dbal.dbs.config'); |
| 80 | 80 | |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | private function getDbDefaultOptions(): \Closure |
| 86 | 86 | { |
| 87 | - return static function () { |
|
| 87 | + return static function() { |
|
| 88 | 88 | return [ |
| 89 | 89 | 'configuration' => [ |
| 90 | 90 | 'auto_commit' => true, |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | |
| 109 | 109 | private function getDbEventManagerDefinition(): \Closure |
| 110 | 110 | { |
| 111 | - return static function (ContainerInterface $container) { |
|
| 111 | + return static function(ContainerInterface $container) { |
|
| 112 | 112 | /** @var Container $dbEvents */ |
| 113 | 113 | $dbEvents = $container->get('doctrine.dbal.dbs.event_manager'); |
| 114 | 114 | |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | |
| 119 | 119 | private function getDbsDefinition(): \Closure |
| 120 | 120 | { |
| 121 | - return static function (ContainerInterface $container) { |
|
| 121 | + return static function(ContainerInterface $container) { |
|
| 122 | 122 | $container->get('doctrine.dbal.dbs.options.initializer')(); |
| 123 | 123 | |
| 124 | 124 | $dbs = new Container(); |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | $manager = $container->get('doctrine.dbal.dbs.event_manager')->get($name); |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | - $dbs->factory($name, static function () use ($options, $config, $manager) { |
|
| 134 | + $dbs->factory($name, static function() use ($options, $config, $manager) { |
|
| 135 | 135 | return DriverManager::getConnection($options['connection'], $config, $manager); |
| 136 | 136 | }); |
| 137 | 137 | } |
@@ -142,14 +142,14 @@ discard block |
||
| 142 | 142 | |
| 143 | 143 | private function getDbsConfigDefinition(): \Closure |
| 144 | 144 | { |
| 145 | - return function (ContainerInterface $container) { |
|
| 145 | + return function(ContainerInterface $container) { |
|
| 146 | 146 | $container->get('doctrine.dbal.dbs.options.initializer')(); |
| 147 | 147 | |
| 148 | 148 | $logger = $container->has('logger') ? $container->get('logger') : null; |
| 149 | 149 | |
| 150 | 150 | $configs = new Container(); |
| 151 | 151 | foreach ($container->get('doctrine.dbal.dbs.options') as $name => $options) { |
| 152 | - $configs->factory($name, function () use ($logger, $container, $options) { |
|
| 152 | + $configs->factory($name, function() use ($logger, $container, $options) { |
|
| 153 | 153 | $configOptions = $options['configuration']; |
| 154 | 154 | |
| 155 | 155 | $config = new Configuration(); |
@@ -191,12 +191,12 @@ discard block |
||
| 191 | 191 | |
| 192 | 192 | private function getDbsEventManagerDefinition(): \Closure |
| 193 | 193 | { |
| 194 | - return static function (ContainerInterface $container) { |
|
| 194 | + return static function(ContainerInterface $container) { |
|
| 195 | 195 | $container->get('doctrine.dbal.dbs.options.initializer')(); |
| 196 | 196 | |
| 197 | 197 | $managers = new Container(); |
| 198 | 198 | foreach ($container->get('doctrine.dbal.dbs.name') as $name) { |
| 199 | - $managers->factory((string) $name, static function () { |
|
| 199 | + $managers->factory((string) $name, static function() { |
|
| 200 | 200 | return new EventManager(); |
| 201 | 201 | }); |
| 202 | 202 | } |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | |
| 208 | 208 | private function getDbsNameDefinition(): \Closure |
| 209 | 209 | { |
| 210 | - return static function (ContainerInterface $container) { |
|
| 210 | + return static function(ContainerInterface $container) { |
|
| 211 | 211 | $container->get('doctrine.dbal.dbs.options.initializer')(); |
| 212 | 212 | |
| 213 | 213 | return array_keys($container->get('doctrine.dbal.dbs.options')); |
@@ -216,8 +216,8 @@ discard block |
||
| 216 | 216 | |
| 217 | 217 | private function getDbsOptionsInitializerDefinition(): \Closure |
| 218 | 218 | { |
| 219 | - return static function (ContainerInterface $container) { |
|
| 220 | - return static function () use ($container): void { |
|
| 219 | + return static function(ContainerInterface $container) { |
|
| 220 | + return static function() use ($container): void { |
|
| 221 | 221 | static $initialized = false; |
| 222 | 222 | |
| 223 | 223 | if ($initialized) { |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | if (!$container->has('doctrine.dbal.dbs.options')) { |
| 238 | 238 | $container->factory( |
| 239 | 239 | 'doctrine.dbal.dbs.options', |
| 240 | - static function (ContainerInterface $container) { |
|
| 240 | + static function(ContainerInterface $container) { |
|
| 241 | 241 | return [ |
| 242 | 242 | 'default' => $container->has('doctrine.dbal.db.options') |
| 243 | 243 | ? $container->get('doctrine.dbal.db.options') |
@@ -255,13 +255,13 @@ discard block |
||
| 255 | 255 | ); |
| 256 | 256 | |
| 257 | 257 | if (!$container->has('doctrine.dbal.dbs.default')) { |
| 258 | - $container->factory('doctrine.dbal.dbs.default', function () use ($name) { |
|
| 258 | + $container->factory('doctrine.dbal.dbs.default', function() use ($name) { |
|
| 259 | 259 | return $name; |
| 260 | 260 | }); |
| 261 | 261 | } |
| 262 | 262 | } |
| 263 | 263 | |
| 264 | - $container->factory('doctrine.dbal.dbs.options', function () use ($tmp) { |
|
| 264 | + $container->factory('doctrine.dbal.dbs.options', function() use ($tmp) { |
|
| 265 | 265 | return $tmp; |
| 266 | 266 | }); |
| 267 | 267 | }; |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | |
| 271 | 271 | private function getTypesDefinition(): \Closure |
| 272 | 272 | { |
| 273 | - return static function () { |
|
| 273 | + return static function() { |
|
| 274 | 274 | return []; |
| 275 | 275 | }; |
| 276 | 276 | } |