|
@@ -157,7 +157,7 @@ discard block |
|
|
block discarded – undo |
|
157
|
157
|
if (true === $config['wrap']) { |
|
158
|
158
|
$that = $this; |
|
159
|
159
|
|
|
160
|
|
- return function () use ($that, $name, $parameters) { |
|
|
160
|
+ return function() use ($that, $name, $parameters) { |
|
161
|
161
|
return $that->autoWireClass($name, $parameters); |
|
162
|
162
|
}; |
|
163
|
163
|
} |
|
@@ -237,7 +237,7 @@ discard block |
|
|
block discarded – undo |
|
237
|
237
|
|
|
238
|
238
|
return $factory->createProxy( |
|
239
|
239
|
$class->getName(), |
|
240
|
|
- function (&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($that, $name,$class,$arguments,$config) { |
|
|
240
|
+ function(&$wrappedObject, $proxy, $method, $parameters, &$initializer) use ($that, $name, $class, $arguments, $config) { |
|
241
|
241
|
$wrappedObject = $that->getRealInstance($name, $class, $arguments, $config); |
|
242
|
242
|
$initializer = null; |
|
243
|
243
|
} |
Please login to merge, or discard this patch.