1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 00:34:40 +01:00
This commit is contained in:
Daniil Gentili 2023-03-17 11:30:40 +01:00
parent a6d3ac7771
commit 1970ee0ec0

View File

@ -327,7 +327,7 @@ abstract class AsyncTools extends StrTools
} finally {
Magic::togglePeriodicLogging();
}
return \array_shift($lines);
return \array_shift($lines) ?? '';
}
/**
* Asynchronously write to stdout/browser.