mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
DataPacket: clean() returns $this, not void
This commit is contained in:
parent
b1458db47b
commit
f6d96c5827
@ -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 = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user