-
-
Notifications
You must be signed in to change notification settings - Fork 167
Documentation improvement #310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
README.md
Outdated
| Similarly, you can use the result of the `$next` middleware request handler | ||
| function to modify the outgoing response. | ||
| Note that as per the above documentation, the `$next` function may return a | ||
| Note that as per the above documentation, the `$next` may return a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"...the $next may return a..." reads a bit odd imho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be "the $next variable" or "the callable $next"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the other paragraph ↓, its called "$next middleware request handler", maybe that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Remove word `function` from middleware description
e0e8313 to
80fa528
Compare
This PR is the same as #297
Removes word
functionfrom middleware description.