@@ -9,7 +9,7 @@ |
||
9 | 9 | public function getServices() |
10 | 10 | { |
11 | 11 | return [ |
12 | - 'serviceA' => function (ContainerInterface $container) { |
|
12 | + 'serviceA' => function(ContainerInterface $container) { |
|
13 | 13 | $instance = new \stdClass(); |
14 | 14 | $instance->serviceB = $container->get('serviceB'); |
15 | 15 |
@@ -10,7 +10,7 @@ |
||
10 | 10 | public function getServices() |
11 | 11 | { |
12 | 12 | return [ |
13 | - 'serviceA' => [self::class, 'overrideServiceA'], |
|
13 | + 'serviceA' => [ self::class, 'overrideServiceA' ], |
|
14 | 14 | ]; |
15 | 15 | } |
16 | 16 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | )); |
31 | 31 | |
32 | 32 | if ($prev) { |
33 | - $message .= ' Message: ' . $prev->getMessage(); |
|
33 | + $message .= ' Message: '.$prev->getMessage(); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | return new static($message, 0, $prev); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * @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 |
21 | 21 | * @param bool $usePuli |
22 | 22 | */ |
23 | - public function __construct(array $serviceProviders = [], $usePuli = true) |
|
23 | + public function __construct(array $serviceProviders = [ ], $usePuli = true) |
|
24 | 24 | { |
25 | 25 | $this->serviceProviders = $serviceProviders; |
26 | 26 | $this->usePuli = $usePuli; |