mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 00:39:45 +00:00
MainLogger: add native return types to private functions
This commit is contained in:
parent
7137b8a8a4
commit
f16a530849
@ -340,7 +340,7 @@ class MainLogger extends \AttachableThreadedLogger{
|
||||
/**
|
||||
* @param resource $logResource
|
||||
*/
|
||||
private function writeLogStream($logResource){
|
||||
private function writeLogStream($logResource) : void{
|
||||
while($this->logStream->count() > 0){
|
||||
$chunk = $this->logStream->shift();
|
||||
fwrite($logResource, $chunk);
|
||||
|
Loading…
x
Reference in New Issue
Block a user