Skip to content

Conversation

@Satariall
Copy link

Some libraries, frameworks of configs might provide a strings to port and timeout params. Redis extension on PHP 7.4 throw an TypeError on that situation. For preventing this add typecasting (int)$this->options['port'] and (float)$this->options['timeout'] to the connect and pconnect methods.

Some libraries, frameworks of configs might provide a strings to port and timeout params. Redis extension on PHP 7.4 throw an TypeError on that situation. For preventing this add typecasting `(int)$this->options['port']` and `(float)$this->options['timeout']` to the `connect` and `pconnect` methods.
L3tum added a commit to L3tum/prometheus_client_php that referenced this pull request Sep 20, 2020
Marsel Markhabulin and others added 3 commits January 12, 2021 12:07
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.

1 participant