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:
@ -27,7 +27,7 @@ class WoodenPressurePlate extends StonePressurePlate{
|
||||
|
||||
protected $id = self::WOODEN_PRESSURE_PLATE;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Wooden Pressure Plate";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user