mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Block API typehints
This commit is contained in:
@ -29,7 +29,7 @@ class TrappedChest extends Chest{
|
||||
|
||||
protected $id = self::TRAPPED_CHEST;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Trapped Chest";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user