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:
@ -27,11 +27,11 @@ class RedstoneTorch extends Torch{
|
||||
|
||||
protected $id = self::LIT_REDSTONE_TORCH;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Redstone Torch";
|
||||
}
|
||||
|
||||
public function getLightLevel(){
|
||||
public function getLightLevel() : int{
|
||||
return 7;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user