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:
@ -29,11 +29,11 @@ class WallSign extends SignPost{
|
||||
|
||||
protected $id = self::WALL_SIGN;
|
||||
|
||||
public function getName(){
|
||||
public function getName() : string{
|
||||
return "Wall Sign";
|
||||
}
|
||||
|
||||
public function onUpdate($type){
|
||||
public function onUpdate(int $type){
|
||||
$faces = [
|
||||
2 => 3,
|
||||
3 => 2,
|
||||
|
Reference in New Issue
Block a user