@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $definition->setSynthetic(true); |
63 | 63 | $definition->setPublic(true); |
64 | 64 | |
65 | - $container->setDefinition('service_provider_registry_' . $this->registryId, $definition); |
|
65 | + $container->setDefinition('service_provider_registry_'.$this->registryId, $definition); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | private function registerFactories($serviceProviderKey, ServiceProviderInterface $serviceProvider, ContainerBuilder $container) |
@@ -96,12 +96,12 @@ discard block |
||
96 | 96 | private function getDecoratedServiceName($serviceName, ContainerBuilder $container) |
97 | 97 | { |
98 | 98 | $counter = 1; |
99 | - while ($container->has($serviceName . '_decorated_' . $counter)) { |
|
99 | + while ($container->has($serviceName.'_decorated_'.$counter)) { |
|
100 | 100 | $counter++; |
101 | 101 | } |
102 | 102 | return [ |
103 | - $serviceName . '_decorated_' . $counter, |
|
104 | - $counter === 1 ? $serviceName : $serviceName . '_decorated_' . ($counter-1) |
|
103 | + $serviceName.'_decorated_'.$counter, |
|
104 | + $counter === 1 ? $serviceName : $serviceName.'_decorated_'.($counter-1) |
|
105 | 105 | ]; |
106 | 106 | } |
107 | 107 | |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | |
116 | 116 | if ($method === 'extendService' && $container->has($serviceName)) { |
117 | 117 | list($finalServiceName, $previousServiceName) = $this->getDecoratedServiceName($serviceName, $container); |
118 | - $innerName = $finalServiceName . '.inner'; |
|
118 | + $innerName = $finalServiceName.'.inner'; |
|
119 | 119 | |
120 | 120 | $factoryDefinition->setDecoratedService($previousServiceName, $innerName); |
121 | 121 | } |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | if ($this->isStaticallyCallable($callable)) { |
124 | 124 | $factoryDefinition->setFactory(/** @scrutinizer ignore-type */$callable); |
125 | 125 | } else { |
126 | - $factoryDefinition->setFactory([ new Reference('service_provider_registry_' . $this->registryId), $method ]); |
|
126 | + $factoryDefinition->setFactory([new Reference('service_provider_registry_'.$this->registryId), $method]); |
|
127 | 127 | $factoryDefinition->addArgument($serviceProviderKey); |
128 | 128 | $factoryDefinition->addArgument($serviceName); |
129 | 129 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function boot() |
46 | 46 | { |
47 | - $registryServiceName = 'service_provider_registry_' . $this->id; |
|
47 | + $registryServiceName = 'service_provider_registry_'.$this->id; |
|
48 | 48 | $this->container->set($registryServiceName, $this->getRegistry($this->container)); |
49 | 49 | } |
50 | 50 |