diff --git a/src/Helper/AbstractHelper.php b/src/Helper/AbstractHelper.php index a2551a73..18ea1a97 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 d5d7afe4..51782a96 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; /** diff --git a/src/Helper/Placeholder/Container/AbstractStandalone.php b/src/Helper/Placeholder/Container/AbstractStandalone.php index f17f5162..0e47599d 100644 --- a/src/Helper/Placeholder/Container/AbstractStandalone.php +++ b/src/Helper/Placeholder/Container/AbstractStandalone.php @@ -169,7 +169,6 @@ protected function escape($string) if ($this->getView() instanceof RendererInterface && method_exists($this->getView(), 'getEncoding') ) { - $enc = $this->getView()->getEncoding(); $escaper = $this->getView()->plugin('escapeHtml'); return $escaper((string) $string); } diff --git a/src/View.php b/src/View.php index 125109c2..aebae58a 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