Skip to content

Commit

Permalink
Merge pull request #16 from jszczypk/master
Browse files Browse the repository at this point in the history
making ConnectorInterface optional
  • Loading branch information
davidwdan authored Aug 7, 2019
2 parents 663b1ce + 2ac6267 commit a4100ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class Client

private $currentRetryCount = 0;

public function __construct(string $url, string $realm, array $options = [], Subject $webSocket = null, Observable $messages = null, Observable $session = null, ConnectorInterface $connector)
public function __construct(string $url, string $realm, array $options = [], Subject $webSocket = null, Observable $messages = null, Observable $session = null, ConnectorInterface $connector = null)
{
$this->disposable = new CompositeDisposable();
$this->onClose = new Subject();
Expand Down

0 comments on commit a4100ef

Please sign in to comment.