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:
@ -30,7 +30,7 @@ class Leaves2 extends Leaves{
|
||||
protected $id = self::LEAVES2;
|
||||
protected $woodType = self::WOOD2;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
static $names = [
|
||||
self::ACACIA => "Acacia Leaves",
|
||||
self::DARK_OAK => "Dark Oak Leaves",
|
||||
|
Reference in New Issue
Block a user