@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare (strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace TheCodingMachine\Yaco\ServiceProvider; |
6 | 6 | |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | } elseif (is_string($callable) && strpos($callable, '::') !== false) { |
164 | 164 | $pos = strpos($callable, '::'); |
165 | 165 | $className = substr($callable, 0, $pos); |
166 | - $methodName = substr($callable, $pos + 2); |
|
166 | + $methodName = substr($callable, $pos+2); |
|
167 | 167 | |
168 | 168 | return new FactoryCallDefinition($decoratedServiceName, $className, $methodName, [$containerDefinition]); |
169 | 169 | } |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | } elseif (is_string($callable) && strpos($callable, '::') !== false) { |
194 | 194 | $pos = strpos($callable, '::'); |
195 | 195 | $className = substr($callable, 0, $pos); |
196 | - $methodName = substr($callable, $pos + 2); |
|
196 | + $methodName = substr($callable, $pos+2); |
|
197 | 197 | |
198 | 198 | return new FactoryCallDefinition($decoratedServiceName, $className, $methodName, [$containerDefinition, $previousDefinition]); |
199 | 199 | } |