This commit is contained in:
Daniil Gentili 2017-01-17 22:00:14 +01:00
parent 4cfd96152f
commit bd40ca528a

View File

@ -535,7 +535,7 @@ trait FilesHandler
return $file;
}
public function download_to_stream($message_media, &$stream, $cb = null, $offset = 0, $end = -1)
public function download_to_stream($message_media, $stream, $cb = null, $offset = 0, $end = -1)
{
if ($cb === null) {
$cb = function ($percent) {