Skip to content

Commit

Permalink
Fixing return value documentation on PHP addSecureHttp2Port and addHt…
Browse files Browse the repository at this point in the history
…tp2Port
  • Loading branch information
Ryan Gordon committed Oct 17, 2017
1 parent ede8ed2 commit 1c0a336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/php/ext/grpc/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ PHP_METHOD(Server, requestCall) {
/**
* Add a http2 over tcp listener.
* @param string $addr The address to add
* @return bool True on success, false on failure
* @return int Port on success, 0 on failure
*/
PHP_METHOD(Server, addHttp2Port) {
const char *addr;
Expand All @@ -190,7 +190,7 @@ PHP_METHOD(Server, addHttp2Port) {
* Add a secure http2 over tcp listener.
* @param string $addr The address to add
* @param ServerCredentials The ServerCredentials object
* @return bool True on success, false on failure
* @return int Port on success, 0 on failure
*/
PHP_METHOD(Server, addSecureHttp2Port) {
const char *addr;
Expand Down

0 comments on commit 1c0a336

Please sign in to comment.