Skip to content

Update signature of RedisCluster::__construct#62

Merged
ondrejmirtes merged 2 commits intophpstan:masterfrom
codegain:patch-2
Dec 20, 2019
Merged

Update signature of RedisCluster::__construct#62
ondrejmirtes merged 2 commits intophpstan:masterfrom
codegain:patch-2

Conversation

@codegain
Copy link
Copy Markdown
Contributor

Improved version of #61 with no removals.

As I pointed out in phan/phan#3593 I'm getting this error in phpstan as well:

Class RedisCluster constructor invoked with 6 parameters, 2-5 required.

The parameter was added to phpredis here: phpredis/phpredis#1355

See also:
https://github.com/zgb7mtr/phpredis_cluster_phpdoc/blob/master/src/RedisCluster.php#L96

@ondrejmirtes ondrejmirtes merged commit 60f2982 into phpstan:master Dec 20, 2019
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

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