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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parameter definition for Grpc\ChannelCredentials::createSsl #665

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

howyi
Copy link
Contributor

@howyi howyi commented Sep 8, 2021

copy from phan/phan#4534


This PR contains two fixes.

pem_root_certs to optional

1st argument $pem_root_certs has been changed to optional with this commit
grpc/grpc@52931a4#diff-d4d5d67134d6592b600cfc6179b56863f7d7b198c86384fb9bf0a86a5d20b765R142

all parameters to nullable

It is not nullable on PhpDoc, but the actual source code is nullable.
( And the behavior changes between null and the empty string馃ズ

PhpDoc fix is currently under review

grpc/grpc#27283

@ondrejmirtes ondrejmirtes merged commit 92ea742 into phpstan:master Sep 8, 2021
@ondrejmirtes
Copy link
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
2 participants