From 513a68816a2771f67034ffbf7c9603f7057921cb Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 1 Dec 2015 16:59:49 -0800 Subject: 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. --- src/php/lib/Grpc/BaseStub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []) { -- cgit v1.2.3