mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Typehinted block events API
This commit is contained in:
@ -43,7 +43,7 @@ abstract class BlockEvent extends Event{
|
||||
/**
|
||||
* @return Block
|
||||
*/
|
||||
public function getBlock(){
|
||||
public function getBlock() : Block{
|
||||
return $this->block;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user