@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | $this->expectException(InvalidArgumentException::class); |
30 | 30 | ContainerBuilder::build([ |
31 | 31 | 'services' => [ |
32 | - 'some.service' => function () { |
|
32 | + 'some.service' => function() { |
|
33 | 33 | } |
34 | 34 | ], |
35 | 35 | 'factories' => [], |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | ContainerBuilder::build([ |
44 | 44 | 'services' => [ |
45 | 45 | 'some.service' => [ |
46 | - 'class' => function () { |
|
46 | + 'class' => function() { |
|
47 | 47 | } |
48 | 48 | ] |
49 | 49 | ], |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | ContainerBuilder::build([ |
59 | 59 | 'services' => [ |
60 | 60 | 'some.service' => [ |
61 | - function () { |
|
61 | + function() { |
|
62 | 62 | } |
63 | 63 | ] |
64 | 64 | ], |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | { |
111 | 111 | $container = ContainerBuilder::build([ |
112 | 112 | 'factories' => [ |
113 | - 'some.test.class' => function (ContainerInterface $container) { |
|
113 | + 'some.test.class' => function(ContainerInterface $container) { |
|
114 | 114 | return new SplStack(); |
115 | 115 | }, |
116 | 116 | ], |
@@ -29,7 +29,7 @@ |
||
29 | 29 | ]; |
30 | 30 | |
31 | 31 | foreach ($dependencies['factories'] ?? [] as $name => $factory) { |
32 | - $containerConfig[$name] = static function (ContainerInterface $container) use ($factory) { |
|
32 | + $containerConfig[$name] = static function(ContainerInterface $container) use ($factory) { |
|
33 | 33 | if (is_array($factory)) { |
34 | 34 | $class = array_shift($factory); |
35 | 35 | $instance = new $class(); |