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

Correcting the return type hint for BRPOPLPUSH method #497

Merged
merged 1 commit into from
Aug 25, 2020
Merged

Conversation

phpguru
Copy link
Contributor

@phpguru phpguru commented Apr 11, 2018

I could be missing something, but in my tests, brpoplpush returns a string. The Redis docs seem to confirm this. My IDE was complaining about the return type not matching in a method I wrote that returns a string after calling brpoplpush, and when I dug into the IDE warning, I found the ClientInterface class to be providing an array type instead of a string return type.

@nrk nrk self-assigned this Aug 24, 2020
@nrk nrk merged commit 4233653 into predis:v1.1 Aug 25, 2020
@nrk
Copy link
Contributor

nrk commented Aug 25, 2020

Thank you! Fixes will be included with Predis v1.1.4 when it's released.

@tillkruss
Copy link
Member

@nrk: How should we handle these PRs in terms of pushing them into 2.x as well?

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