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

@ -129,7 +129,7 @@ class ShapedRecipe implements CraftingRecipe{
/**
* @return UUID|null
*/
public function getId(){
public function getId() : ?UUID{
return $this->id;
}
@ -192,7 +192,7 @@ class ShapedRecipe implements CraftingRecipe{
return $this->shape;
}
public function registerToCraftingManager(CraftingManager $manager){
public function registerToCraftingManager(CraftingManager $manager) : void{
$manager->registerShapedRecipe($this);
}