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

Handle return-type of HeaderCollection->get() #17

Merged
1 commit merged into from
Sep 12, 2019

Conversation

EtienneBruines
Copy link
Contributor

The default behavior does not distinguish between string[] or string; this PR covers some common use-cases.

Also added three test-cases in the controller, which fail without the new extension, because phpstan was unable to detect the return type.

@EtienneBruines EtienneBruines force-pushed the feature-header-collection branch from 971cf6b to 49d4cfd Compare September 10, 2019 10:04
@EtienneBruines EtienneBruines force-pushed the feature-header-collection branch from 49d4cfd to 76aa3bb Compare September 10, 2019 10:08
Copy link
Contributor

@akondas akondas left a comment

Choose a reason for hiding this comment

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

@marmichalski for me looks good

@akondas
Copy link
Contributor

akondas commented Sep 10, 2019

If ok, then we can merge and release 0.6.0 version

@akondas akondas added this to the 0.6.0 milestone Sep 10, 2019
@ghost ghost merged commit 3299305 into proget-hq:master Sep 12, 2019
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants