Completed
Push — master ( 693288...ff001c )
by Andreas
10s
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   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         }
36 36
 
37 37
         foreach ($config as $key => $value) {
38
-            $this->container[$prefix . $key] = $value;
38
+            $this->container[$prefix.$key] = $value;
39 39
         }
40 40
     }
41 41
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     private function createFactoryFactory(ServiceDefinition $definition)
86 86
     {
87
-        return function () use ($definition) {
87
+        return function() use ($definition) {
88 88
             $className = $definition->getClass();
89 89
             $factory = new $className();
90 90
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     private function createInstanceFactory(ServiceDefinition $definition)
101 101
     {
102
-        return function () use ($definition) {
102
+        return function() use ($definition) {
103 103
             $className = $definition->getClass();
104 104
             $instance = new $className(...$this->resolveArguments($definition->getArguments()));
105 105
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     private function resolveArguments(array $arguments)
120 120
     {
121 121
         return array_map(
122
-            function ($argument) {
122
+            function($argument) {
123 123
                 if (isset($this->container[$argument])) {
124 124
                     return $this->container[$argument];
125 125
                 }
Please login to merge, or discard this patch.
src/League/ServiceServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     private function createFactoryFactory(ServiceDefinition $definition)
86 86
     {
87
-        return function () use ($definition) {
87
+        return function() use ($definition) {
88 88
             $className = $definition->getClass();
89 89
             $factory = new $className();
90 90
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     private function resolveArguments(array $arguments)
101 101
     {
102 102
         return array_map(
103
-            function ($argument) {
103
+            function($argument) {
104 104
                 if ($this->container->has($argument)) {
105 105
                     return $this->container->get($argument);
106 106
                 }
Please login to merge, or discard this patch.