fix code style

pull/9415/head
thinkerou 8 years ago
parent 659e563e2e
commit 16713db012
  1. 11
      src/php/lib/Grpc/AbstractCall.php

@ -58,12 +58,11 @@ abstract class AbstractCall
* the response * the response
* @param array $options Call options (optional) * @param array $options Call options (optional)
*/ */
public function __construct( public function __construct(Channel $channel,
Channel $channel, $method,
$method, $deserialize,
$deserialize, array $options = [])
array $options = [] {
) {
if (array_key_exists('timeout', $options) && if (array_key_exists('timeout', $options) &&
is_numeric($timeout = $options['timeout']) is_numeric($timeout = $options['timeout'])
) { ) {

Loading…
Cancel
Save