We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87ed914 + d8b16a9 commit e169694Copy full SHA for e169694
README.md
@@ -31,7 +31,8 @@ use Middlewares\Utils\Dispatcher;
31
32
// Create a new ErrorHandler instance
33
// 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.
+// header of the request. If no formatter matches, the first formatter in the array
35
+// will be used.
36
$errorHandler = new ErrorHandler([
37
new ErrorFormatter\HtmlFormatter(),
38
new ErrorFormatter\ImageFormatter(),
0 commit comments