mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Apply typehints to pocketmine\network\mcpe\protocol namespace
this is pulled from network-nuke in order to reduce the size of the diff.
This commit is contained in:
@ -34,11 +34,11 @@ class ContainerClosePacket extends DataPacket{
|
||||
/** @var int */
|
||||
public $windowId;
|
||||
|
||||
protected function decodePayload(){
|
||||
protected function decodePayload() : void{
|
||||
$this->windowId = $this->getByte();
|
||||
}
|
||||
|
||||
protected function encodePayload(){
|
||||
protected function encodePayload() : void{
|
||||
$this->putByte($this->windowId);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user