mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Apply nullable and void typehints to events namespace
This commit is contained in:
@ -77,7 +77,7 @@ abstract class PlayerBucketEvent extends PlayerEvent implements Cancellable{
|
||||
/**
|
||||
* @param Item $item
|
||||
*/
|
||||
public function setItem(Item $item){
|
||||
public function setItem(Item $item) : void{
|
||||
$this->item = $item;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user