Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove trailing spaces

  • Loading branch information...
commit c5193777bf975cd79ed23a155fcd805d1d9b3520 1 parent 758f399
@AndrejAndb AndrejAndb authored
View
4 library/Zend/Mvc/View/Http/RouteNotFoundStrategy.php
@@ -204,7 +204,7 @@ public function prepareNotFoundViewModel(MvcEvent $e)
// Only handle 404 responses
return;
}
-
+
if (!$vars instanceof ViewModel) {
$model = new ViewModel();
if (is_string($vars)) {
@@ -218,7 +218,7 @@ public function prepareNotFoundViewModel(MvcEvent $e)
$model->setVariable('message', 'Page not found.');
}
}
-
+
$model->setTemplate($this->getNotFoundTemplate());
// If displaying reasons, inject the reason
View
4 tests/ZendTest/Mvc/View/RouteNotFoundStrategyTest.php
@@ -37,9 +37,9 @@ public function testMessageParamsInViewModel()
$event = new MvcEvent();
$event->setResponse($response);
$response->setStatusCode(404);
-
+
$event->setResult(null);
-
+
$testCase = array(
'assertEquals' => array (
'bar',
Please sign in to comment.
Something went wrong with that request. Please try again.