|
@@ -153,7 +153,7 @@ discard block |
|
|
block discarded – undo |
|
153
|
153
|
} elseif (is_string($callable) && strpos($callable, '::') !== false) { |
|
154
|
154
|
$pos = strpos($callable, '::'); |
|
155
|
155
|
$className = substr($callable, 0, $pos); |
|
156
|
|
- $methodName = substr($callable, $pos + 2); |
|
|
156
|
+ $methodName = substr($callable, $pos+2); |
|
157
|
157
|
|
|
158
|
158
|
return new FactoryCallDefinition($decoratedServiceName, $className, $methodName, [$containerDefinition]); |
|
159
|
159
|
} |
|
@@ -183,7 +183,7 @@ discard block |
|
|
block discarded – undo |
|
183
|
183
|
} elseif (is_string($callable) && strpos($callable, '::') !== false) { |
|
184
|
184
|
$pos = strpos($callable, '::'); |
|
185
|
185
|
$className = substr($callable, 0, $pos); |
|
186
|
|
- $methodName = substr($callable, $pos + 2); |
|
|
186
|
+ $methodName = substr($callable, $pos+2); |
|
187
|
187
|
|
|
188
|
188
|
return new FactoryCallDefinition($decoratedServiceName, $className, $methodName, [$containerDefinition, $previousDefinition]); |
|
189
|
189
|
} |
Please login to merge, or discard this patch.