mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-31 23:33:06 +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{
|
private function writeLogStream($logResource) : void{
|
||||||
while($this->logStream->count() > 0){
|
while($this->logStream->count() > 0){
|
||||||
|
/** @var string $chunk */
|
||||||
$chunk = $this->logStream->shift();
|
$chunk = $this->logStream->shift();
|
||||||
fwrite($logResource, $chunk);
|
fwrite($logResource, $chunk);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user