diff options
author | Parker Moore <parkrmoore@gmail.com> | 2015-12-01 16:59:49 -0800 |
---|---|---|
committer | Parker Moore <parkrmoore@gmail.com> | 2015-12-01 16:59:49 -0800 |
commit | 513a68816a2771f67034ffbf7c9603f7057921cb (patch) | |
tree | 1550aed1a646407dc829f0e6c355afebb0ce158d /src/php/lib/Grpc/BaseStub.php | |
parent | 9f4554ef94b354f4dc3117e8706b02a224c152e7 (diff) |
php: remove callable type hint from BaseStub->_simpleRequest()
The "callable" type hint in PHP appears to be broken in PHP 5.6.6. It feels unnecessary here, as the required code is generated.
See https://bugs.php.net/bug.php?id=61467&edit=1 for more info.
Diffstat (limited to 'src/php/lib/Grpc/BaseStub.php')
-rwxr-xr-x | src/php/lib/Grpc/BaseStub.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/lib/Grpc/BaseStub.php b/src/php/lib/Grpc/BaseStub.php index aa4de349ea..7b2627f516 100755 --- a/src/php/lib/Grpc/BaseStub.php +++ b/src/php/lib/Grpc/BaseStub.php @@ -216,7 +216,7 @@ class BaseStub */ public function _simpleRequest($method, $argument, - callable $deserialize, + $deserialize, $metadata = [], $options = []) { |