Skip to content

Commit 2620f86

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9e1fe43 + b6baa4f commit 2620f86

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/AsyncClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function user(string $user): PromiseInterface
142142
});
143143
}
144144

145-
public function stream(): AsyncStreamingClient
145+
public function stream(): AsyncStreamingClientInterface
146146
{
147147
if (!($this->streamingClient instanceof AsyncStreamingClient)) {
148148
$this->streamingClient = new AsyncStreamingClient($this->client);

src/AsyncClientInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ public function withOutAccessToken(): AsyncClient;
1313

1414
public function getCommandBus(): CommandBusInterface;
1515

16+
public function profile(): PromiseInterface;
17+
1618
public function user(string $user): PromiseInterface;
1719

18-
public function stream(): AsyncStreamingClient;
20+
public function stream(): AsyncStreamingClientInterface;
1921
}

0 commit comments

Comments
 (0)