mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Block API typehints
This commit is contained in:
@ -27,11 +27,11 @@ class LitRedstoneLamp extends RedstoneLamp{
|
||||
|
||||
protected $id = self::LIT_REDSTONE_LAMP;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Lit Redstone Lamp";
|
||||
}
|
||||
|
||||
public function getLightLevel(){
|
||||
public function getLightLevel() : int{
|
||||
return 15;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user