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:
@ -26,7 +26,7 @@ namespace pocketmine\block;
|
||||
class PoweredRail extends Rail{
|
||||
protected $id = self::POWERED_RAIL;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Powered Rail";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user