aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/ext/grpc
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanley.cheung@gmail.com>2017-10-18 11:26:33 -0700
committerGravatar GitHub <noreply@github.com>2017-10-18 11:26:33 -0700
commit11676552c80c1627aca757bc5cf192f1bf14a85f (patch)
treed67085c395bb9805461ba11e12437790b1064454 /src/php/ext/grpc
parent326a1cdb5a09e9f82fc8a80ce126757ea1166df1 (diff)
parent1c0a3367d473f889600796826827c806a57298c4 (diff)
Merge pull request #13037 from quizlet/php_doc_fix
Fix return value doc in two PHP functions
Diffstat (limited to 'src/php/ext/grpc')
-rw-r--r--src/php/ext/grpc/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php/ext/grpc/server.c b/src/php/ext/grpc/server.c
index e46037743d..a65d233017 100644
--- a/src/php/ext/grpc/server.c
+++ b/src/php/ext/grpc/server.c
@@ -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;
@@ -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;