Passed
Pull Request — master (#10)
by Valentin
02:45
created
src/DependencyInjection/Compiler/ProxyCompilerPass.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $pheanstalkLocatorDef = $container->getDefinition('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
 block discarded – undo
82 82
         $pheanstalkDef->addMethodCall('setName', [$name]);
83 83
         $pheanstalkDef->setPublic(true);
84 84
 
85
-        $container->setDefinition('pheanstalk.' . $name, $pheanstalkDef);
85
+        $container->setDefinition('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('pheanstalk.' . $name),
90
+            $container->getDefinition('pheanstalk.'.$name),
91 91
             $isDefault,
92 92
         ]);
93 93
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         }
110 110
 
111 111
         $this->defaultPheanstalkName = $name;
112
-        $legacyAlias = $container->setAlias('pheanstalk', 'pheanstalk.' . $name);
112
+        $legacyAlias = $container->setAlias('pheanstalk', 'pheanstalk.'.$name);
113 113
         $legacyAlias->setPublic(true);
114 114
 
115 115
         $autoWiringAlias = $container->setAlias(PheanstalkInterface::class, 'pheanstalk');
Please login to merge, or discard this patch.