@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | { |
| 64 | 64 | $pheanstalkLocatorDef = $container->getDefinition('pyrowman.pheanstalk.pheanstalk_locator'); |
| 65 | 65 | if (in_array($name, $this->reservedName())) { |
| 66 | - throw new \RuntimeException('Reserved pheanstalk name: ' . $name); |
|
| 66 | + throw new \RuntimeException('Reserved pheanstalk name: '.$name); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | $pheanstalkConfig = [ |
@@ -82,12 +82,12 @@ discard block |
||
| 82 | 82 | $pheanstalkDef->addMethodCall('setName', [$name]); |
| 83 | 83 | $pheanstalkDef->setPublic(true); |
| 84 | 84 | |
| 85 | - $container->setDefinition('pyrowman.pheanstalk.' . $name, $pheanstalkDef); |
|
| 85 | + $container->setDefinition('pyrowman.pheanstalk.'.$name, $pheanstalkDef); |
|
| 86 | 86 | |
| 87 | 87 | // Register the connection in the connection locator |
| 88 | 88 | $pheanstalkLocatorDef->addMethodCall('addPheanstalk', [ |
| 89 | 89 | $name, |
| 90 | - $container->getDefinition('pyrowman.pheanstalk.' . $name), |
|
| 90 | + $container->getDefinition('pyrowman.pheanstalk.'.$name), |
|
| 91 | 91 | $isDefault, |
| 92 | 92 | ]); |
| 93 | 93 | |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | $this->defaultPheanstalkName = $name; |
| 112 | - $legacyAlias = $container->setAlias('pyrowman.pheanstalk', 'pyrowman.pheanstalk.' . $name); |
|
| 112 | + $legacyAlias = $container->setAlias('pyrowman.pheanstalk', 'pyrowman.pheanstalk.'.$name); |
|
| 113 | 113 | $legacyAlias->setPublic(true); |
| 114 | 114 | |
| 115 | 115 | $autoWiringAlias = $container->setAlias(PheanstalkInterface::class, 'pyrowman.pheanstalk'); |