Merge pull request #8549 from fr05t1k/fix/phpdoc-types

PHPDoc types
pull/8562/head
Stanley Cheung 8 years ago committed by GitHub
commit eb44fd68fb
  1. 10
      src/php/lib/Grpc/BaseStub.php

@ -116,7 +116,7 @@ class BaseStub
} }
/** /**
* @param $timeout in microseconds * @param int $timeout in microseconds
* *
* @return bool true if channel is ready * @return bool true if channel is ready
* @throw Exception if channel is in FATAL_ERROR state * @throw Exception if channel is in FATAL_ERROR state
@ -189,7 +189,7 @@ class BaseStub
/** /**
* validate and normalize the metadata array. * validate and normalize the metadata array.
* *
* @param $metadata The metadata map * @param array $metadata The metadata map
* *
* @return $metadata Validated and key-normalized metadata map * @return $metadata Validated and key-normalized metadata map
* @throw InvalidArgumentException if key contains invalid characters * @throw InvalidArgumentException if key contains invalid characters
@ -217,7 +217,7 @@ class BaseStub
* single output. * single output.
* *
* @param string $method The name of the method to call * @param string $method The name of the method to call
* @param $argument The argument to the method * @param mixed $argument The argument to the method
* @param callable $deserialize A function that deserializes the response * @param callable $deserialize A function that deserializes the response
* @param array $metadata A metadata map to send to the server * @param array $metadata A metadata map to send to the server
* *
@ -251,7 +251,7 @@ class BaseStub
* output. * output.
* *
* @param string $method The name of the method to call * @param string $method The name of the method to call
* @param $arguments An array or Traversable of arguments to stream to the * @param array $arguments An array or Traversable of arguments to stream to the
* server * server
* @param callable $deserialize A function that deserializes the response * @param callable $deserialize A function that deserializes the response
* @param array $metadata A metadata map to send to the server * @param array $metadata A metadata map to send to the server
@ -285,7 +285,7 @@ class BaseStub
* responses. * responses.
* *
* @param string $method The name of the method to call * @param string $method The name of the method to call
* @param $argument The argument to the method * @param mixed $argument The argument to the method
* @param callable $deserialize A function that deserializes the responses * @param callable $deserialize A function that deserializes the responses
* @param array $metadata A metadata map to send to the server * @param array $metadata A metadata map to send to the server
* *

Loading…
Cancel
Save