Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
romain.kuzniak committed Nov 3, 2015
1 parent 98005c6 commit 31b9f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Proxy/ProxyGenerator/ServiceProxyGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private function generateProxyMethod(\ReflectionMethod $method, $preSource, $pos
} else {
$body = "try {\n"
.$preSource."\n"
.'$data = parent::'.$method->getName().$parametersString.";\n"
."\$data = \$this->proxy_realSubject->".$method->getName().$parametersString.";\n"
.$postSource."\n"
."return \$data;\n"
."} catch(\\Exception \$e){\n"
Expand Down

0 comments on commit 31b9f53

Please sign in to comment.