@@ -35,7 +35,7 @@ |
||
35 | 35 | $this->setParameter($methodReplacementsArg); |
36 | 36 | |
37 | 37 | $this->setBody( |
38 | - '$this->' . $wrappedObjectProperty->getName() . " = \$wrappedObject;\n" |
|
38 | + '$this->' . $wrappedObjectProperty->getName() . " = \$wrappedObject;\n" |
|
39 | 39 | . '$this->' . $lazyPropertiesProperty->getName() . " = \$lazyProperties;\n" |
40 | 40 | . '$this->' . $methodReplacementsProperty->getName() . " = \$methodReplacements;\n" |
41 | 41 | . '$this->' . $initializerProperty->getName() . " = new \\Isolate\\LazyObjects\\Object\\Property\\Initializer();\n" |
@@ -20,7 +20,7 @@ |
||
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" |
@@ -20,7 +20,7 @@ |
||
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" |