Skip to content
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

Drop array as possible request handler #362

Merged
merged 1 commit into from
Jul 10, 2020
Merged

Drop array as possible request handler #362

merged 1 commit into from
Jul 10, 2020

Conversation

WyriHaximus
Copy link
Member

Instead use variadics and turn any callable added after the event loop
as constructor argument into a middleware and use the last one as
request handler.

Due to the use of variadic the minimum PHP version has been bumped to
5.6.

Builds on #361

@WyriHaximus WyriHaximus requested review from clue and jsor and removed request for clue June 24, 2020 16:50
@WyriHaximus WyriHaximus added this to the v0.9.0 milestone Jun 24, 2020
@WyriHaximus WyriHaximus requested a review from clue June 24, 2020 19:55
@clue clue modified the milestones: v0.9.0, v1.0.0 Jun 28, 2020
README.md Show resolved Hide resolved
Instead use func_get_args() and turn any callable added after the event
loop as constructor argument into a middleware and use the last one as
request handler.
Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM! :shipit:

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.

3 participants