Skip to content

Commit e169694

Browse files
authored
Merge pull request #11 from rolfvandekrol/patch-1
Fix comment in example code in README
2 parents 87ed914 + d8b16a9 commit e169694

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ use Middlewares\Utils\Dispatcher;
3131

3232
// Create a new ErrorHandler instance
3333
// Any number of formatters can be added. One will be picked based on the Accept
34-
// header of the request. If no formatter matches, the PlainFormatter will be used.
34+
// header of the request. If no formatter matches, the first formatter in the array
35+
// will be used.
3536
$errorHandler = new ErrorHandler([
3637
new ErrorFormatter\HtmlFormatter(),
3738
new ErrorFormatter\ImageFormatter(),

0 commit comments

Comments
 (0)