null and void typehints

This commit is contained in:
Dylan K. Taylor
2017-09-21 12:54:04 +01:00
parent d89b8cf12e
commit f01ce8e994
21 changed files with 56 additions and 56 deletions

View File

@ -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();