From 9616c47598a99e9027530f4f330bb312daa4f136 Mon Sep 17 00:00:00 2001 From: Pavel Galaton Date: Thu, 13 Sep 2012 17:00:20 +0300 Subject: [PATCH] Define parameter type in onBootstrap method of Module.php, this will help newcomers to see autocomplete in their IDE's and ease of understanding what $e is --- module/Application/Module.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/Application/Module.php b/module/Application/Module.php index 86d9d4e..7786cd8 100644 --- a/module/Application/Module.php +++ b/module/Application/Module.php @@ -10,10 +10,11 @@ namespace Application; use Zend\Mvc\ModuleRouteListener; +use Zend\Mvc\MvcEvent; class Module { - public function onBootstrap($e) + public function onBootstrap(MvcEvent $e) { $e->getApplication()->getServiceManager()->get('translator'); $eventManager = $e->getApplication()->getEventManager(); -- 1.7.10.4