@@ -25,7 +25,7 @@ |
||
| 25 | 25 | public function getKeys() |
| 26 | 26 | { |
| 27 | 27 | return array_map( |
| 28 | - function (ServiceDefinition $definition) { |
|
| 28 | + function(ServiceDefinition $definition) { |
|
| 29 | 29 | return $definition->getKey(); |
| 30 | 30 | }, |
| 31 | 31 | $this->config |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | $this->provides = array_reduce( |
| 29 | 29 | $this->providers, |
| 30 | - function (array $provides, ServiceProviderInterface $provider) { |
|
| 30 | + function(array $provides, ServiceProviderInterface $provider) { |
|
| 31 | 31 | return array_merge($provides, $provider->provides()); |
| 32 | 32 | }, |
| 33 | 33 | [] |
@@ -26,8 +26,8 @@ discard block |
||
| 26 | 26 | $this->prefix = $prefix; |
| 27 | 27 | $this->config = $config; |
| 28 | 28 | $this->provides = array_map( |
| 29 | - function ($key) { |
|
| 30 | - return $this->keyPrefix() . $key; |
|
| 29 | + function($key) { |
|
| 30 | + return $this->keyPrefix().$key; |
|
| 31 | 31 | }, |
| 32 | 32 | $config->getKeys() |
| 33 | 33 | ); |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | $prefix = $this->keyPrefix(); |
| 39 | 39 | |
| 40 | 40 | foreach ($this->config as $key => $value) { |
| 41 | - $this->container->share($prefix . $key, function () use ($value) { |
|
| 41 | + $this->container->share($prefix.$key, function() use ($value) { |
|
| 42 | 42 | return $value; |
| 43 | 43 | }); |
| 44 | 44 | } |
@@ -53,6 +53,6 @@ discard block |
||
| 53 | 53 | return ''; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - return $this->prefix . $this->config->getSeparator(); |
|
| 56 | + return $this->prefix.$this->config->getSeparator(); |
|
| 57 | 57 | } |
| 58 | 58 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | return self::create( |
| 21 | 21 | 'No reader configured for "%s" files; readers are available for [%s].', |
| 22 | 22 | $extension, |
| 23 | - '"' . implode('", "', $availableExtensions) . '"' |
|
| 23 | + '"'.implode('", "', $availableExtensions).'"' |
|
| 24 | 24 | ); |
| 25 | 25 | } |
| 26 | 26 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public static function fromPatterns(array $patterns) |
| 15 | 15 | { |
| 16 | - $patterns = '"' . implode('", "', $patterns) . '"'; |
|
| 16 | + $patterns = '"'.implode('", "', $patterns).'"'; |
|
| 17 | 17 | |
| 18 | 18 | return self::create( |
| 19 | 19 | 'No files found matching patterns: [%s].', |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | ]); |
| 44 | 44 | |
| 45 | 45 | $configs = array_map( |
| 46 | - function ($filename) use ($factory) { |
|
| 46 | + function($filename) use ($factory) { |
|
| 47 | 47 | $reader = $factory->create($filename); |
| 48 | 48 | return $reader->read($filename); |
| 49 | 49 | }, |