mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Added type hint to BlockEvent::getBlock()
This commit is contained in:
parent
0bd7ab9def
commit
cfcf515f62
@ -38,6 +38,9 @@ abstract class BlockEvent extends Event{
|
||||
$this->block = $block;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Block
|
||||
*/
|
||||
public function getBlock(){
|
||||
return $this->block;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user