@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } |
131 | 131 | |
132 | 132 | if (!$this->container->hasExtension($namespace)) { |
133 | - $extensionNamespaces = array_filter(array_map(function ($ext) { return $ext->getAlias(); }, $this->container->getExtensions())); |
|
133 | + $extensionNamespaces = array_filter(array_map(function($ext) { return $ext->getAlias(); }, $this->container->getExtensions())); |
|
134 | 134 | throw new InvalidArgumentException(sprintf( |
135 | 135 | 'There is no extension able to load the configuration for "%s" (in %s). Looked for namespace "%s", found %s', |
136 | 136 | $namespace, |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | |
326 | 326 | if (isset($service['arguments'])) { |
327 | 327 | $autowired = false; |
328 | - array_walk($service['arguments'], function (&$value) use (&$autowired) { |
|
328 | + array_walk($service['arguments'], function(&$value) use (&$autowired) { |
|
329 | 329 | if ('...' === $value) { |
330 | 330 | $value = ''; |
331 | 331 | $autowired = true; |
@@ -488,7 +488,7 @@ discard block |
||
488 | 488 | } elseif (strpos($factory, ':') !== false) { |
489 | 489 | $parts = explode(':', $factory, 2); |
490 | 490 | |
491 | - return [$this->resolveServices(('@' === $parts[0][0] ?: '@').$parts[0]), $parts[1]]; |
|
491 | + return [$this->resolveServices(('@' === $parts[0][0] ?: '@') . $parts[0]), $parts[1]]; |
|
492 | 492 | } else { |
493 | 493 | return $factory; |
494 | 494 | } |
@@ -510,9 +510,9 @@ discard block |
||
510 | 510 | |
511 | 511 | if (is_array($value)) { |
512 | 512 | $value = array_map([$this, 'resolveServices'], $value); |
513 | - } elseif (is_string($value) && 0 === strpos($value, '@=')) { |
|
513 | + } elseif (is_string($value) && 0 === strpos($value, '@=')) { |
|
514 | 514 | return new Expression(substr($value, 2)); |
515 | - } elseif (is_string($value) && 0 === strpos($value, '@')) { |
|
515 | + } elseif (is_string($value) && 0 === strpos($value, '@')) { |
|
516 | 516 | if (0 === strpos($value, '@@')) { |
517 | 517 | $value = substr($value, 1); |
518 | 518 | $invalidBehavior = null; |