Skip to content

Commit

Permalink
fixed extended class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Nissen committed Jun 28, 2016
1 parent 0cae648 commit c2e6b0b
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 c2e6b0b

Please sign in to comment.