Skip to content

Commit

Permalink
changed from \ReflectionClass to ReflectionClass
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Aug 8, 2012
1 parent 18a6324 commit e38469a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/ServiceManager/ServiceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public function addAbstractFactory($factory, $topOfStack = true)
'Provided abstract factory must be the class name of an abstract factory or an instance of an AbstractFactoryInterface.'
);
}
$refl = new \ReflectionClass($factory);
$refl = new ReflectionClass($factory);
if (!$refl->implementsInterface(__NAMESPACE__ . '\\AbstractFactoryInterface')) {
throw new Exception\InvalidArgumentException(
'Provided abstract factory must be the class name of an abstract factory or an instance of an AbstractFactoryInterface.'
Expand Down

0 comments on commit e38469a

Please sign in to comment.