Completed
Push — master ( 5c17b6...bc2830 )
by Tom
14s
created
src/Pimple/Configurator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         }
26 26
 
27 27
         foreach ($config as $key => $value) {
28
-            $container[$prefix . $key] = $value;
28
+            $container[$prefix.$key] = $value;
29 29
         }
30 30
     }
31 31
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     private function addServiceToContainer(ServiceDefinition $definition)
47 47
     {
48
-        $factory = function () use ($definition) {
48
+        $factory = function() use ($definition) {
49 49
             $reflection = new ReflectionClass($definition->getClass());
50 50
 
51 51
             $instance = $reflection->newInstanceArgs($this->resolveArguments($definition->getArguments()));
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     private function resolveArguments(array $arguments)
68 68
     {
69 69
         return array_map(
70
-            function ($argument) {
70
+            function($argument) {
71 71
                 return isset($this->container[$argument]) ? $this->container[$argument] : $argument;
72 72
             },
73 73
             $arguments
Please login to merge, or discard this patch.