mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Added some type checks
This commit is contained in:
@ -48,7 +48,7 @@ class AsyncMultipleQueue extends Thread{
|
|||||||
$str = "";
|
$str = "";
|
||||||
while(!isset($str{$len - 1})){
|
while(!isset($str{$len - 1})){
|
||||||
$str .= $this->input{0};
|
$str .= $this->input{0};
|
||||||
$this->input = substr($this->input, 1);
|
$this->input = (string) substr($this->input, 1);
|
||||||
}
|
}
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user