Skip to content

Add void return type to collect() method #431

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

Merged
merged 1 commit into from
May 31, 2023
Merged

Add void return type to collect() method #431

merged 1 commit into from
May 31, 2023

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented May 31, 2023

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets
Documentation
License MIT

What's in this PR?

Needed for Symfony 6.3.

 1x: Method "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect()" might add "void" as a native return type declaration in the future. Do the same in implementation "Http\HttplugBundle\Collector\Collector" now to avoid errors or add an explicit @return annotation to suppress this message.

Needed for Symfony 6.3.

```
 1x: Method "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect()" might add "void" as a native return type declaration in the future. Do the same in implementation "Http\HttplugBundle\Collector\Collector" now to avoid errors or add an explicit @return annotation to suppress this message.
```
Copy link
Collaborator

@dbu dbu left a comment

Choose a reason for hiding this comment

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

thanks

@dbu dbu merged commit 3d74b19 into php-http:1.x May 31, 2023
@ruudk ruudk deleted the patch-1 branch May 31, 2023 11:27
@ruudk
Copy link
Contributor Author

ruudk commented May 31, 2023

Thanks for merging. Could you please tag it?

@dbu
Copy link
Collaborator

dbu commented Jun 1, 2023

done: https://github.com/php-http/HttplugBundle/releases/tag/1.29.1

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.

3 participants