Receive Reader as dependency in Subscriber instead of extending it
This commit is contained in:
@@ -122,7 +122,7 @@ abstract class Connection
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected function receive(float $timeout = 0): ?Response
|
||||
public function receive(float $timeout = 0): ?Response
|
||||
{
|
||||
$socket = $this->socket();
|
||||
|
||||
|
Reference in New Issue
Block a user