Skip to content

Fix return type & callback type hints for Redis::subscribe()#259

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
hollodotme:hollodotme-patch-1
Jun 24, 2020
Merged

Fix return type & callback type hints for Redis::subscribe()#259
ondrejmirtes merged 1 commit intophpstan:masterfrom
hollodotme:hollodotme-patch-1

Conversation

@hollodotme
Copy link
Copy Markdown
Contributor

* The method accepts an array or a string for the $callback parameter
* The methods returns any non-null value from the callback to the caller
* See: https://github.com/phpredis/phpredis#subscribe
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

@ondrejmirtes ondrejmirtes merged commit 73aede3 into phpstan:master Jun 24, 2020
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