mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +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;
|
$this->block = $block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Block
|
||||||
|
*/
|
||||||
public function getBlock(){
|
public function getBlock(){
|
||||||
return $this->block;
|
return $this->block;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user