mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
null and void typehints
This commit is contained in:
@ -43,11 +43,11 @@ class CraftingGrid extends BaseInventory{
|
||||
return "Crafting";
|
||||
}
|
||||
|
||||
public function sendSlot(int $index, $target){
|
||||
public function sendSlot(int $index, $target) : void{
|
||||
//we can't send a slot of a client-sided inventory window
|
||||
}
|
||||
|
||||
public function sendContents($target){
|
||||
public function sendContents($target) : void{
|
||||
//we can't send the contents of a client-sided inventory window
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user