mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Block API typehints
This commit is contained in:
@ -27,7 +27,7 @@ class WoodenButton extends StoneButton{
|
||||
|
||||
protected $id = self::WOODEN_BUTTON;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Wooden Button";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user