Skip to content

Commit

Permalink
Merge pull request grpc#13037 from quizlet/php_doc_fix
Browse files Browse the repository at this point in the history
Fix return value doc in two PHP functions
  • Loading branch information
stanley-cheung authored Oct 18, 2017
2 parents 326a1cd + 1c0a336 commit 1167655
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 1167655

Please sign in to comment.