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

Commit

Permalink
Fix typo in docs.
Browse files Browse the repository at this point in the history
Spotted by @vaclavvanik
  • Loading branch information
weierophinney committed Sep 27, 2016
1 parent 8f00604 commit d413d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/book/error-handlers.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ as separate layers:

```php
// setup error handling
$app->pipe(new ErrorHandler(new Response(), new ErrorHandler($isDevelopmentMode));
$app->pipe(new ErrorHandler(new Response(), new ErrorResponseGenerator($isDevelopmentMode));

// setup layers
$app->pipe(/* ... */);
Expand Down

0 comments on commit d413d5d

Please sign in to comment.