Skip to content

Conversation

@seregazhuk
Copy link
Contributor

@seregazhuk seregazhuk commented Mar 22, 2018

This PR is the same as #297
Removes word function from middleware description.

@clue clue added this to the v0.8.2 milestone Mar 23, 2018
@WyriHaximus WyriHaximus requested review from WyriHaximus and jsor March 23, 2018 11:29
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
Copy link
Member

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.

Copy link
Contributor Author

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"?

Copy link
Member

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?

Copy link
Contributor Author

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
@seregazhuk seregazhuk force-pushed the documentation-improvement branch from e0e8313 to 80fa528 Compare March 23, 2018 13:16
@WyriHaximus WyriHaximus requested review from WyriHaximus and clue March 23, 2018 14:15
@clue clue merged commit 4fbeee0 into reactphp:master Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants