From 64abd15253596a27bbdd4d4436788e5dea619a6a Mon Sep 17 00:00:00 2001 From: ins0 Date: Tue, 10 Dec 2013 01:06:09 +0100 Subject: [PATCH 1/4] removed unused namespace --- src/Helper/AbstractHelper.php | 1 - src/Helper/FlashMessenger.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/Helper/AbstractHelper.php b/src/Helper/AbstractHelper.php index 6dce9330..38fcec34 100644 --- a/src/Helper/AbstractHelper.php +++ b/src/Helper/AbstractHelper.php @@ -9,7 +9,6 @@ namespace Zend\View\Helper; -use Zend\View\Helper\HelperInterface; use Zend\View\Renderer\RendererInterface as Renderer; abstract class AbstractHelper implements HelperInterface diff --git a/src/Helper/FlashMessenger.php b/src/Helper/FlashMessenger.php index 4af4c33a..527900ae 100644 --- a/src/Helper/FlashMessenger.php +++ b/src/Helper/FlashMessenger.php @@ -12,8 +12,6 @@ use Zend\Mvc\Controller\Plugin\FlashMessenger as PluginFlashMessenger; use Zend\ServiceManager\ServiceLocatorAwareInterface; use Zend\ServiceManager\ServiceLocatorInterface; -use Zend\View\Helper\AbstractHelper; -use Zend\View\Helper\EscapeHtml; use Zend\I18n\View\Helper\AbstractTranslatorHelper; /** From a1978529761f889189bcd7597091432a50a94951 Mon Sep 17 00:00:00 2001 From: ins0 Date: Tue, 10 Dec 2013 01:06:35 +0100 Subject: [PATCH 2/4] removed unused return value --- src/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View.php b/src/View.php index c2f4cb21..8e884992 100644 --- a/src/View.php +++ b/src/View.php @@ -182,7 +182,7 @@ public function render(Model $model) } $event->setRenderer($renderer); - $results = $events->trigger(ViewEvent::EVENT_RENDERER_POST, $event); + $events->trigger(ViewEvent::EVENT_RENDERER_POST, $event); // If EVENT_RENDERER or EVENT_RENDERER_POST changed the model, make sure // we use this new model instead of the current $model From 2eb1199d60d85bf80e5860809fbe04f8d92f5330 Mon Sep 17 00:00:00 2001 From: ins0 Date: Tue, 10 Dec 2013 01:06:09 +0100 Subject: [PATCH 3/4] removed unused namespace --- src/Helper/AbstractHelper.php | 1 - src/Helper/FlashMessenger.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/Helper/AbstractHelper.php b/src/Helper/AbstractHelper.php index 6dce9330..38fcec34 100644 --- a/src/Helper/AbstractHelper.php +++ b/src/Helper/AbstractHelper.php @@ -9,7 +9,6 @@ namespace Zend\View\Helper; -use Zend\View\Helper\HelperInterface; use Zend\View\Renderer\RendererInterface as Renderer; abstract class AbstractHelper implements HelperInterface diff --git a/src/Helper/FlashMessenger.php b/src/Helper/FlashMessenger.php index 4af4c33a..527900ae 100644 --- a/src/Helper/FlashMessenger.php +++ b/src/Helper/FlashMessenger.php @@ -12,8 +12,6 @@ use Zend\Mvc\Controller\Plugin\FlashMessenger as PluginFlashMessenger; use Zend\ServiceManager\ServiceLocatorAwareInterface; use Zend\ServiceManager\ServiceLocatorInterface; -use Zend\View\Helper\AbstractHelper; -use Zend\View\Helper\EscapeHtml; use Zend\I18n\View\Helper\AbstractTranslatorHelper; /** From 999e103a2509f93ab627069dc3097f5ecb35d134 Mon Sep 17 00:00:00 2001 From: ins0 Date: Tue, 10 Dec 2013 01:06:35 +0100 Subject: [PATCH 4/4] removed unused return value --- src/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View.php b/src/View.php index c2f4cb21..8e884992 100644 --- a/src/View.php +++ b/src/View.php @@ -182,7 +182,7 @@ public function render(Model $model) } $event->setRenderer($renderer); - $results = $events->trigger(ViewEvent::EVENT_RENDERER_POST, $event); + $events->trigger(ViewEvent::EVENT_RENDERER_POST, $event); // If EVENT_RENDERER or EVENT_RENDERER_POST changed the model, make sure // we use this new model instead of the current $model