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

Add missing @return annotations #1265

Merged
merged 5 commits into from
Apr 19, 2023
Merged

Conversation

nicolas-grekas
Copy link
Contributor

Declaring #[ReturnTypeWillChange] is not precise enough, that's why they should always have their corresponding @return.

This change is required to enable using Predis v2 with Symfony, see symfony/symfony#49801

@coveralls
Copy link

coveralls commented Apr 19, 2023

Coverage Status

Coverage: 83.894%. Remained the same when pulling da8a95a on nicolas-grekas:annot-return into d2cd994 on predis:v2.x.

Copy link
Member

@tillkruss tillkruss left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, makses sense. Just some minor changes needed.

src/Command/Processor/ProcessorChain.php Outdated Show resolved Hide resolved
src/Session/Handler.php Outdated Show resolved Hide resolved
@tillkruss tillkruss merged commit bf2075a into predis:v2.x Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants