aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib
diff options
context:
space:
mode:
authorGravatar Parker Moore <parkrmoore@gmail.com>2015-12-01 16:59:49 -0800
committerGravatar Parker Moore <parkrmoore@gmail.com>2015-12-01 16:59:49 -0800
commit513a68816a2771f67034ffbf7c9603f7057921cb (patch)
tree1550aed1a646407dc829f0e6c355afebb0ce158d /src/php/lib
parent9f4554ef94b354f4dc3117e8706b02a224c152e7 (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')
-rwxr-xr-xsrc/php/lib/Grpc/BaseStub.php2
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 = [])
{