diff --git a/src/danog/MadelineProto/Connection.php b/src/danog/MadelineProto/Connection.php index 24a1ab92..6eb7c625 100644 --- a/src/danog/MadelineProto/Connection.php +++ b/src/danog/MadelineProto/Connection.php @@ -363,7 +363,7 @@ class Connection $headers[] = $current_header; } $read = $this->read($length); - $headers[0] = explode(" ", $headers[0], 3); + $headers[0] = explode(' ', $headers[0], 3); if ($headers[0][1] !== '200') { throw new Exception($headers[0][2]); }