mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
null and void typehints
This commit is contained in:
@ -103,7 +103,7 @@ class FurnaceInventory extends ContainerInventory{
|
||||
return $this->setItem(0, $item);
|
||||
}
|
||||
|
||||
public function onSlotChange(int $index, Item $before, bool $send){
|
||||
public function onSlotChange(int $index, Item $before, bool $send) : void{
|
||||
parent::onSlotChange($index, $before, $send);
|
||||
|
||||
$this->getHolder()->scheduleUpdate();
|
||||
|
Reference in New Issue
Block a user