mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Added some type checks
This commit is contained in:
parent
bfffa35246
commit
99554caa69
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue