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

@ -43,7 +43,7 @@ class ShapelessRecipe implements CraftingRecipe{
/**
* @return UUID|null
*/
public function getId(){
public function getId() : ?UUID{
return $this->id;
}
@ -136,7 +136,7 @@ class ShapelessRecipe implements CraftingRecipe{
return $count;
}
public function registerToCraftingManager(CraftingManager $manager){
public function registerToCraftingManager(CraftingManager $manager) : void{
$manager->registerShapelessRecipe($this);
}