@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | |
134 | 134 | if (!$this->container->hasExtension($namespace)) { |
135 | 135 | $extensionNamespaces = array_filter(array_map( |
136 | - function (ExtensionInterface $ext) { |
|
136 | + function(ExtensionInterface $ext) { |
|
137 | 137 | return $ext->getAlias(); |
138 | 138 | }, |
139 | 139 | $this->container->getExtensions() |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | |
334 | 334 | if (isset($service['arguments'])) { |
335 | 335 | $autowired = false; |
336 | - array_walk($service['arguments'], function (&$value) use (&$autowired) { |
|
336 | + array_walk($service['arguments'], function(&$value) use (&$autowired) { |
|
337 | 337 | if ('...' === $value) { |
338 | 338 | $value = ''; |
339 | 339 | $autowired = true; |
@@ -496,7 +496,7 @@ discard block |
||
496 | 496 | } elseif (strpos($factory, ':') !== false) { |
497 | 497 | $parts = explode(':', $factory, 2); |
498 | 498 | |
499 | - return [$this->resolveServices(('@' === $parts[0][0] ?: '@').$parts[0]), $parts[1]]; |
|
499 | + return [$this->resolveServices(('@' === $parts[0][0] ?: '@') . $parts[0]), $parts[1]]; |
|
500 | 500 | } else { |
501 | 501 | return $factory; |
502 | 502 | } |
@@ -518,9 +518,9 @@ discard block |
||
518 | 518 | |
519 | 519 | if (is_array($value)) { |
520 | 520 | $value = array_map([$this, 'resolveServices'], $value); |
521 | - } elseif (is_string($value) && 0 === strpos($value, '@=')) { |
|
521 | + } elseif (is_string($value) && 0 === strpos($value, '@=')) { |
|
522 | 522 | return new Expression(substr($value, 2)); |
523 | - } elseif (is_string($value) && 0 === strpos($value, '@')) { |
|
523 | + } elseif (is_string($value) && 0 === strpos($value, '@')) { |
|
524 | 524 | if (0 === strpos($value, '@@')) { |
525 | 525 | $value = substr($value, 1); |
526 | 526 | $invalidBehavior = null; |