Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
fixes class name typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pine3ree committed Jan 22, 2016
1 parent b947920 commit 3409a59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/book/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ use Zend\Expressive\Application;
use Zend\Expressive\Plates\PlatesRenderer;
use Zend\Expressive\TemplatedErrorHandler;

$plates = new Plates();
$plates = new PlatesRenderer();
$plates->addPath(__DIR__ . '/templates/error', 'error');
$finalHandler = new TemplatedErrorHandler($plates, 'error::404', 'error::500');

Expand Down Expand Up @@ -98,7 +98,7 @@ $whoops->writeToOutput(false);
$whoops->allowQuit(false);
$whoops->pushHandler($handler);

$plates = new Plates();
$plates = new PlatesRenderer();
$plates->addPath(__DIR__ . '/templates/error', 'error');
$finalHandler = new WhoopsErrorHandler(
$whoops,
Expand Down

0 comments on commit 3409a59

Please sign in to comment.