Skip to content

Commit ebaf442

Browse files
committed
Updated the warning with a note about return types
1 parent edb3fe6 commit ebaf442

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ $server = new Server(new MiddlewareRunner([
4242
# Warning
4343

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

0 commit comments

Comments
 (0)