Completed
Pull Request — master (#52)
by Tom
02:42
created
src/ServiceConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/League/ApplicationConfigServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Pimple/PimpleContainerAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         }
34 34
 
35 35
         foreach ($config as $key => $value) {
36
-            $this->container[$prefix . $key] = $value;
36
+            $this->container[$prefix.$key] = $value;
37 37
         }
38 38
     }
39 39
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     private function addServiceToContainer(ServiceDefinition $definition)
53 53
     {
54
-        $factory = function () use ($definition) {
54
+        $factory = function() use ($definition) {
55 55
             $reflection = new ReflectionClass($definition->getClass());
56 56
 
57 57
             $instance = $reflection->newInstanceArgs($this->resolveArguments($definition->getArguments()));
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     private function resolveArguments(array $arguments)
74 74
     {
75 75
         return array_map(
76
-            function ($argument) {
76
+            function($argument) {
77 77
                 if (isset($this->container[$argument])) {
78 78
                     return $this->container[$argument];
79 79
                 }
Please login to merge, or discard this patch.