mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
MainLogger: fix type ambiguity
This commit is contained in:
parent
5c3e78e1d3
commit
2aef83e7d7
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user