Skip to content

Commit 5152243

Browse files
committed
Use Observable as return type because it has all the methods while ObservableInterface doesn't
1 parent 8591d0f commit 5152243

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AsyncClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ public function __construct(LoopInterface $loop, string $app)
5353
* Listen on a channel
5454
*
5555
* @param string $channel Channel to listen on
56-
* @return ObservableInterface
56+
* @return Observable
5757
*/
58-
public function channel(string $channel): ObservableInterface
58+
public function channel(string $channel): Observable
5959
{
6060
if (isset($this->channels[$channel])) {
6161
return $this->channels[$channel];

0 commit comments

Comments
 (0)