PHP: fix ChannelCredentials\createSsl parameter phpdocs to optional and default null (#27283)

pull/27698/head
Hayashi Takuya 4 years ago committed by GitHub
parent 45e6933859
commit c89d92225f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/php/ext/grpc/channel_credentials.c

@ -139,10 +139,10 @@ PHP_METHOD(ChannelCredentials, createDefault) {
/**
* Create SSL credentials.
* @param string $pem_root_certs = "" PEM encoding of the server root certificates (optional)
* @param string $private_key = "" PEM encoding of the client's
* @param string|null $pem_root_certs = null PEM encoding of the server root certificates (optional)
* @param string|null $private_key = null PEM encoding of the client's
* private key (optional)
* @param string $cert_chain = "" PEM encoding of the client's
* @param string|null $cert_chain = null PEM encoding of the client's
* certificate chain (optional)
* @return ChannelCredentials The new SSL credentials object
*/

Loading…
Cancel
Save