Skip to content

Commit

Permalink
Merge pull request #13 from Erseni/zendCodeUpdate
Browse files Browse the repository at this point in the history
fixed extended class name because of breaking change in zend-code 3.0.3
  • Loading branch information
bashofmann authored Jun 28, 2016
2 parents 0cae648 + c2e6b0b commit 374db2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rg/injektor/generators/FileGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ protected function getFactoryMethod(\ReflectionMethod $method, $classConfig) {
*/
private function createProxyClass($proxyName) {
$proxyClass = new Generator\ClassGenerator($proxyName);
$proxyClass->setExtendedClass('\\' . $this->fullClassName);
$proxyClass->setExtendedClass($this->fullClassName);
foreach ($this->injectableArguments as $injectableArgument) {
$injectorMethod = new \Zend\Code\Generator\MethodGenerator('propertyInjection' . $injectableArgument->getName());
$injectorMethod->setBody($injectableArgument->getProcessingBody());
Expand Down

0 comments on commit 374db2c

Please sign in to comment.