Commit d25a75b2 authored by opatry's avatar opatry

missing word

parent caa5a05a
...@@ -511,7 +511,7 @@ You can restrict an error handler to only handle some Exception classes by ...@@ -511,7 +511,7 @@ You can restrict an error handler to only handle some Exception classes by
setting a more specific type hint for the Closure argument:: setting a more specific type hint for the Closure argument::
$app->error(function (\LogicException $e, $code) { $app->error(function (\LogicException $e, $code) {
// this handler will only \LogicException exceptions // this handler will only handle \LogicException exceptions
// and exceptions that extends \LogicException // and exceptions that extends \LogicException
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment