-
Notifications
You must be signed in to change notification settings - Fork 323
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
Upgrading from 3.1.4 to 3.1.5 throws warning when using typehinting #464
Comments
I think this is correct. You cannot restrict the parameter type to |
According to https://github.com/php-memcached-dev/php-memcached/blob/master/php_memcached.stub.php#L55 you're declaring the function as public function addServers(array $servers): bool {} which is exactly what we're using in the class that extends Memcached class. Can you elaborate why this WARNING is correct, please? |
Sorry @GrahamCampbell, but I have the same problem as @c0deright, and I agree with him: the function signature includes
|
Since upgrading from 3.1.4 to 3.1.5 we're getting warning
Server
Client
The text was updated successfully, but these errors were encountered: