Permalink
Browse files

Cleanup.

  • Loading branch information...
bbankowski committed Nov 8, 2018
1 parent dfa6c01 commit 80fc2a7c6cffb8c321789eeb6fedc37e4f892a62
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Ouzo/Inject/Injection/InstanceRepository.php
@@ -81,6 +81,7 @@ private function createInstanceThroughFactory(InstanceFactory $factory, $factory
throw new InjectorException("Factory class $factoryClassName does not implemented \Ouzo\Injection\Factory interface.");
}
$factoryBinder = $this->bindings->getBinder($factoryClassName);
/** @var Factory $factoryObject */
$factoryObject = $this->getInstance($factory, $factoryBinder);
return $factoryObject->create();
}

0 comments on commit 80fc2a7

Please sign in to comment.