Completed
Push — master ( 81249e...2bc390 )
by Norbert
19:28 queued 15:08
created
Proxy/Adapter/OcramiusProxyManager/MethodGenerator/HasMethodReplacement.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $this->setParameter(new ParameterGenerator('methodName'));
21 21
 
22 22
         $body =
23
-              "foreach (\$this->$methodReplacementsProperty as \$replacementDefinition) {\n"
23
+                "foreach (\$this->$methodReplacementsProperty as \$replacementDefinition) {\n"
24 24
             . "    if (\$replacementDefinition->getMethod()->isEqualTo(\$methodName)) {\n"
25 25
             . "         return \$replacementDefinition;\n"
26 26
             . "    }\n"
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function __construct(PropertyGenerator $methodReplacementsProperty)
15 15
     {
16 16
         parent::__construct('getMethodReplacement');
17
-        $methodReplacementsProperty  = $methodReplacementsProperty->getName();
17
+        $methodReplacementsProperty = $methodReplacementsProperty->getName();
18 18
         $this->setVisibility(self::VISIBILITY_PRIVATE);
19 19
 
20 20
         $this->setParameter(new ParameterGenerator('methodName'));
Please login to merge, or discard this patch.
Proxy/Adapter/OcramiusProxyManager/MethodGenerator/GetWrappedObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
     public function __construct(PropertyGenerator $methodReplacementsProperty)
14 14
     {
15 15
         parent::__construct('getMethodReplacements');
16
-        $methodReplacementsProperty  = $methodReplacementsProperty->getName();
16
+        $methodReplacementsProperty = $methodReplacementsProperty->getName();
17 17
         $this->setDocblock('{@inheritDoc}');
18 18
 
19
-        $this->setBody("return \$this->" . $methodReplacementsProperty . ";");
19
+        $this->setBody("return \$this->".$methodReplacementsProperty.";");
20 20
     }
21 21
 }
Please login to merge, or discard this patch.