mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
DataPacket: clean() returns $this, not void
This commit is contained in:
@ -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 = "";
|
||||
|
Reference in New Issue
Block a user