@@ -26,6 +26,6 @@ |
||
26 | 26 | |
27 | 27 | public function getExtensions() |
28 | 28 | { |
29 | - return []; |
|
29 | + return [ ]; |
|
30 | 30 | } |
31 | 31 | } |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | public function getFactories() |
15 | 15 | { |
16 | 16 | return [ |
17 | - 'serviceA' => function (ContainerInterface $container) { |
|
17 | + 'serviceA' => function(ContainerInterface $container) { |
|
18 | 18 | $instance = new \stdClass(); |
19 | 19 | $instance->serviceB = $container->get('serviceB'); |
20 | 20 | |
@@ -35,6 +35,6 @@ discard block |
||
35 | 35 | |
36 | 36 | public function getExtensions() |
37 | 37 | { |
38 | - return []; |
|
38 | + return [ ]; |
|
39 | 39 | } |
40 | 40 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function getFactories() |
10 | 10 | { |
11 | - return []; |
|
11 | + return [ ]; |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | public static function overrideServiceA(ContainerInterface $container, \stdClass $serviceA = null) |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | { |
10 | 10 | public function getFactories() |
11 | 11 | { |
12 | - return []; |
|
12 | + return [ ]; |
|
13 | 13 | } |
14 | 14 | |
15 | 15 | public static function overrideServiceA(ContainerInterface $container, $serviceA = null) |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | public function getExtensions() |
23 | 23 | { |
24 | 24 | return [ |
25 | - 'serviceA' => [self::class, 'overrideServiceA'], |
|
25 | + 'serviceA' => [ self::class, 'overrideServiceA' ], |
|
26 | 26 | ]; |
27 | 27 | } |
28 | 28 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * @param array $serviceProviders An array of service providers, in the format specified in thecodingmachine/service-provider-registry: https://github.com/thecodingmachine/service-provider-registry#how-does-it-work |
22 | 22 | * @param bool $useDiscovery |
23 | 23 | */ |
24 | - public function __construct(array $serviceProviders = [], $useDiscovery = true) |
|
24 | + public function __construct(array $serviceProviders = [ ], $useDiscovery = true) |
|
25 | 25 | { |
26 | 26 | $this->serviceProviders = $serviceProviders; |
27 | 27 | $this->useDiscovery = $useDiscovery; |