|
@@ -186,7 +186,7 @@ discard block |
|
|
block discarded – undo |
|
186
|
186
|
if (true === $config['wrap']) { |
|
187
|
187
|
$that = $this; |
|
188
|
188
|
|
|
189
|
|
- return function () use ($that, $name) { |
|
|
189
|
+ return function() use ($that, $name) { |
|
190
|
190
|
return $that->autoWireClass($name); |
|
191
|
191
|
}; |
|
192
|
192
|
} |
|
@@ -294,7 +294,7 @@ discard block |
|
|
block discarded – undo |
|
294
|
294
|
|
|
295
|
295
|
return $factory->createProxy( |
|
296
|
296
|
$class->getName(), |
|
297
|
|
- function (&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($that, $name,$class,$arguments,$config) { |
|
|
297
|
+ function(&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($that, $name, $class, $arguments, $config) { |
|
298
|
298
|
$wrappedObject = $that->getRealInstance($name, $class, $arguments, $config); |
|
299
|
299
|
$initializer = null; |
|
300
|
300
|
} |
Please login to merge, or discard this patch.