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 StillWater extends Water{
|
||||
|
||||
protected $id = self::STILL_WATER;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Still Water";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user