@@ -12,7 +12,7 @@ |
||
| 12 | 12 | $functionName = $this->getFunctionName(); |
| 13 | 13 | |
| 14 | 14 | if ($className !== null && $methodName !== null) { |
| 15 | - $callable = $className . '::' . $methodName;; |
|
| 15 | + $callable = $className . '::' . $methodName; ; |
|
| 16 | 16 | } else { |
| 17 | 17 | $callable = $functionName; |
| 18 | 18 | } |
@@ -53,9 +53,9 @@ discard block |
||
| 53 | 53 | * @throws ValueNotFoundException |
| 54 | 54 | */ |
| 55 | 55 | public function get($id, array $args = []) { |
| 56 | - return $this->rethrowExceptions(function () use ($id, $args) { |
|
| 56 | + return $this->rethrowExceptions(function() use ($id, $args) { |
|
| 57 | 57 | $value = null; |
| 58 | - $definition = $this->registry->getDefinition($id); |
|
| 58 | + $definition = $this->registry->getDefinition($id); |
|
| 59 | 59 | |
| 60 | 60 | if ($definition instanceof IDefinition) { |
| 61 | 61 | $value = $this->resolver->resolveDefinition($definition, $id, $args); |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | * @return mixed |
| 129 | 129 | */ |
| 130 | 130 | public function call($callable, array $args = []) { |
| 131 | - return $this->rethrowExceptions(function () use ($callable, $args) { |
|
| 131 | + return $this->rethrowExceptions(function() use ($callable, $args) { |
|
| 132 | 132 | return $this->reflector |
| 133 | 133 | ->resolveCallable($this, $callable, $args); |
| 134 | 134 | }); |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | * @throws ValueNotFoundException |
| 146 | 146 | */ |
| 147 | 147 | public function callFunction($function, array $args = []) { |
| 148 | - return $this->rethrowExceptions(function () use ($function, $args) { |
|
| 148 | + return $this->rethrowExceptions(function() use ($function, $args) { |
|
| 149 | 149 | return $this->reflector |
| 150 | 150 | ->resolveFunction($this, $function, $args); |
| 151 | 151 | }); |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * @return mixed |
| 160 | 160 | */ |
| 161 | 161 | public function callMethod($instance, $method, array $args = []) { |
| 162 | - return $this->rethrowExceptions(function () use ($instance, $method, $args) { |
|
| 162 | + return $this->rethrowExceptions(function() use ($instance, $method, $args) { |
|
| 163 | 163 | return $this->reflector |
| 164 | 164 | ->resolveMethod($this, $instance, $method, $args); |
| 165 | 165 | }); |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * @return mixed |
| 174 | 174 | */ |
| 175 | 175 | public function callStaticMethod($class, $method, array $args = []) { |
| 176 | - return $this->rethrowExceptions(function () use ($class, $method, $args) { |
|
| 176 | + return $this->rethrowExceptions(function() use ($class, $method, $args) { |
|
| 177 | 177 | return $this->reflector |
| 178 | 178 | ->resolveMethod($this, $class, $method, $args); |
| 179 | 179 | }); |