Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#2138 from prolic/servi…
Browse files Browse the repository at this point in the history
…cemanger-fix

changed from \ReflectionClass to ReflectionClass
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/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 27f50b4

Please sign in to comment.