diff --git a/src/ServiceManager.php b/src/ServiceManager.php index dd6cd964..01dbab2f 100644 --- a/src/ServiceManager.php +++ b/src/ServiceManager.php @@ -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.'