Merge branch 'release/3.4' into release/3.5

This commit is contained in:
Dylan K. Taylor 2018-12-13 09:56:21 +00:00
commit 87ce87112b

View File

@ -139,10 +139,10 @@ abstract class DataPacket extends NetworkBinaryStream{
} }
public function __get($name){ public function __get($name){
throw new \Error("Cannot read non-existing field \"$name\""); throw new \Error("Undefined property: " . get_class($this) . "::\$" . $name);
} }
public function __set($name, $value){ public function __set($name, $value){
throw new \Error("Cannot write non-existing field \"$name\""); throw new \Error("Undefined property: " . get_class($this) . "::\$" . $name);
} }
} }