@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | $container = new Container(new ContainerConfig([ |
| 39 | 39 | 'config' => [], |
| 40 | 40 | 'parameters' => [], |
| 41 | - 'some.service' => function (ContainerInterface $container) { |
|
| 41 | + 'some.service' => function(ContainerInterface $container) { |
|
| 42 | 42 | $this->assertInstanceOf(Container::class, $container); |
| 43 | 43 | return new SplObjectStorage(); |
| 44 | 44 | }, |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $container = new Container(new ContainerConfig([ |
| 64 | 64 | 'config' => [], |
| 65 | 65 | 'parameters' => [], |
| 66 | - 'some.service' => function (ContainerInterface $container) { |
|
| 66 | + 'some.service' => function(ContainerInterface $container) { |
|
| 67 | 67 | $this->assertInstanceOf(Container::class, $container); |
| 68 | 68 | return new SplObjectStorage(); |
| 69 | 69 | }, |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | 'bazz' => ['Hello World'] |
| 86 | 86 | ], |
| 87 | 87 | ], |
| 88 | - 'some.service' => function (ContainerInterface $container) { |
|
| 88 | + 'some.service' => function(ContainerInterface $container) { |
|
| 89 | 89 | $this->assertInstanceOf(Container::class, $container); |
| 90 | 90 | return new SplObjectStorage(); |
| 91 | 91 | }, |
@@ -143,11 +143,11 @@ discard block |
||
| 143 | 143 | $container = new Container(new ContainerConfig([ |
| 144 | 144 | 'config' => [], |
| 145 | 145 | 'parameters' => [], |
| 146 | - 'some.service' => function () { |
|
| 146 | + 'some.service' => function() { |
|
| 147 | 147 | return new \SplStack(); |
| 148 | 148 | }, |
| 149 | - 'some.service.delegator.factory' => function () { |
|
| 150 | - return function (ContainerInterface $container, string $name, callable $callback): \SplStack { |
|
| 149 | + 'some.service.delegator.factory' => function() { |
|
| 150 | + return function(ContainerInterface $container, string $name, callable $callback): \SplStack { |
|
| 151 | 151 | /** @var \SplStack $stack */ |
| 152 | 152 | $stack = $callback(); |
| 153 | 153 | $stack->push('Hello World!!!'); |