Skip to content

Commit 15dadda

Browse files
committed
restore google/auth, sync changes for 1.74.0
1 parent 65c9d6b commit 15dadda

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"version": "1.74.0",
99
"require": {
1010
"php": ">=7.1.0",
11-
"ext-grpc": "*"
11+
"google/protobuf": "^v3.3.0"
12+
},
13+
"require-dev": {
14+
"google/auth": "^v1.3.0"
1215
},
1316
"suggest": {
1417
"ext-protobuf": "For better performance, install the protobuf C extension.",

src/lib/UnaryCall.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
/**
2323
* Represents an active call that sends a single message and then gets a
2424
* single response.
25+
*
26+
* @template T of \Google\Protobuf\Internal\Message
2527
*/
2628
class UnaryCall extends AbstractCall
2729
{
@@ -50,7 +52,7 @@ public function start($data, array $metadata = [], array $options = [])
5052
/**
5153
* Wait for the server to respond with data and a status.
5254
*
53-
* @return array [response data, status]
55+
* @return array{0: T|null, 1: \stdClass} [response data, status]
5456
*/
5557
public function wait()
5658
{

0 commit comments

Comments
 (0)