Skip to content
Browse files

Replaced hasDefinition by findDefinition() in property resolver

  • Loading branch information...
1 parent a949a1d commit dec5daff9f5d855af3d198ac4e5d34ae1ac1993a @joshiausdemwald committed Jun 1, 2011
View
2 src/Ifschleife/Bundle/AutowiringBundle/Autowiring/Injector/PropertyInjector.php
@@ -57,7 +57,7 @@ protected function process(Definition $definition, \Reflector $property)
$inject = null;
- if ($this->container->hasDefinition($di_hint))
+ if ($this->container->findDefinition($di_hint))
{
$inject = $this->createReference($di_hint, $is_optional, $is_strict);
}

0 comments on commit dec5daf

Please sign in to comment.
Something went wrong with that request. Please try again.