Added some type checks

This commit is contained in:
Shoghi Cervantes 2013-06-12 20:46:23 +02:00
parent bfffa35246
commit 99554caa69

View File

@ -48,7 +48,7 @@ class AsyncMultipleQueue extends Thread{
$str = "";
while(!isset($str{$len - 1})){
$str .= $this->input{0};
$this->input = substr($this->input, 1);
$this->input = (string) substr($this->input, 1);
}
return $str;
}