1
0
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:
Mahdi 2023-09-06 19:44:33 +00:00 committed by GitHub
commit 0799a8a52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
/**