Typehinted block events API

This commit is contained in:
Dylan K. Taylor
2017-06-27 09:34:15 +01:00
parent 64f2e7587d
commit 276fccf4bb
7 changed files with 84 additions and 28 deletions

View File

@ -43,7 +43,7 @@ abstract class BlockEvent extends Event{
/**
* @return Block
*/
public function getBlock(){
public function getBlock() : Block{
return $this->block;
}
}