Completed
Push — master ( a91b3a...da0f12 )
by Tom
11s
created
src/Configurator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     public static function container()
72 72
     {
73 73
         if (!self::$containerIdentifier) {
74
-            self::$containerIdentifier = uniqid(__CLASS__ . '::CONTAINER_ID::');
74
+            self::$containerIdentifier = uniqid(__CLASS__.'::CONTAINER_ID::');
75 75
         }
76 76
 
77 77
         return self::$containerIdentifier;
Please login to merge, or discard this patch.
src/League/ServiceServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     private function createAliasFactory(ServiceDefinition $definition)
96 96
     {
97
-        return function () use ($definition) {
97
+        return function() use ($definition) {
98 98
             return $this->getContainer()->get($definition->getClass());
99 99
         };
100 100
     }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     private function createFactoryFactory(ServiceDefinition $definition)
108 108
     {
109
-        return function () use ($definition) {
109
+        return function() use ($definition) {
110 110
             $className = $definition->getClass();
111 111
             $factory   = new $className();
112 112
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     private function injectContainer(array $arguments)
123 123
     {
124 124
         return array_map(
125
-            function ($argument) {
125
+            function($argument) {
126 126
                 return ($argument === Configurator::container())
127 127
                     ? $this->container
128 128
                     : $argument;
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     private function resolveArguments(array $arguments)
140 140
     {
141 141
         return array_map(
142
-            function ($argument) {
142
+            function($argument) {
143 143
                 if ($argument === Configurator::container()) {
144 144
                     return $this->container;
145 145
                 }
Please login to merge, or discard this patch.