mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 14:07:47 +01:00
Merge branch 'danog:v8' into v8
This commit is contained in:
commit
0799a8a52f
@ -122,7 +122,7 @@ final class ConnectionContext
|
||||
*/
|
||||
public function setUri(string|UriInterface $uri): self
|
||||
{
|
||||
$this->uri = $uri instanceof UriInterface ? $uri : Http::createFromString($uri);
|
||||
$this->uri = $uri instanceof UriInterface ? $uri : Http::new($uri);
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user