Skip to content

Commit

Permalink
Updated the warning with a note about return types
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Dec 22, 2017
1 parent edb3fe6 commit ebaf442
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ $server = new Server(new MiddlewareRunner([
# Warning

This adapter rewrite the code of the PSR-15 middleware during the constructor phase, wrapping all `$delegate->process($request)`
calls into a yield `(yield $delegate->process($request))`. This should work for most middleware but cannot be guaranteed for all.
In case you run into issues please open an issue with the middleware in question you're having problems with.
calls into a yield `(yield $delegate->process($request))` and striping all return types. This should work for most middleware
but cannot be guaranteed for all. In case you run into issues please open an issue with the middleware in question you're having
problems with.

0 comments on commit ebaf442

Please sign in to comment.