From 9c54a674c3c11e8a7d1cb8543064f50393df91ba Mon Sep 17 00:00:00 2001 From: Artur Bodera Date: Wed, 13 Nov 2013 14:53:40 +0100 Subject: [PATCH] Fix typehint for getServiceLocator(). It's always `ServiceLocatorInterface` because getServiceLocator() returns the contents of $this->serviceLocator which is set by setServiceLocator(ServiceLocatorInterface $sl). --- library/Zend/ServiceManager/AbstractPluginManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Zend/ServiceManager/AbstractPluginManager.php b/library/Zend/ServiceManager/AbstractPluginManager.php index 3fb7f8dfd0c..039ac1371d4 100644 --- a/library/Zend/ServiceManager/AbstractPluginManager.php +++ b/library/Zend/ServiceManager/AbstractPluginManager.php @@ -142,7 +142,7 @@ public function setServiceLocator(ServiceLocatorInterface $serviceLocator) /** * Get the main plugin manager. Useful for fetching dependencies from within factories. * - * @return mixed + * @return ServiceLocatorInterface */ public function getServiceLocator() {