Merge remote-tracking branch 'origin/stable' into drew-1.13

This commit is contained in:
Dylan K. Taylor 2019-11-11 10:42:25 -05:00
commit ba39327b28

View File

@ -143,7 +143,7 @@ abstract class DataPacket extends NetworkBinaryStream{
public function __debugInfo(){
$data = [];
foreach($this as $k => $v){
foreach((array) $this as $k => $v){
if($k === "buffer" and is_string($v)){
$data[$k] = bin2hex($v);
}elseif(is_string($v) or (is_object($v) and method_exists($v, "__toString"))){