mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
MainLogger: fix type ambiguity
This commit is contained in:
@@ -346,6 +346,7 @@ class MainLogger extends \AttachableThreadedLogger{
|
||||
*/
|
||||
private function writeLogStream($logResource) : void{
|
||||
while($this->logStream->count() > 0){
|
||||
/** @var string $chunk */
|
||||
$chunk = $this->logStream->shift();
|
||||
fwrite($logResource, $chunk);
|
||||
}
|
||||
|
Reference in New Issue
Block a user