DataPacket: clean() returns $this, not void

This commit is contained in:
Dylan K. Taylor 2020-01-14 17:28:53 +00:00
parent b1458db47b
commit f6d96c5827

View File

@ -149,7 +149,7 @@ abstract class DataPacket extends NetworkBinaryStream{
abstract public function handle(NetworkSession $session) : bool;
/**
* @return void
* @return $this
*/
public function clean(){
$this->buffer = "";