mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@ -34,18 +34,11 @@ class InventoryPickupItemEvent extends InventoryEvent implements Cancellable{
|
||||
/** @var ItemEntity */
|
||||
private $item;
|
||||
|
||||
/**
|
||||
* @param Inventory $inventory
|
||||
* @param ItemEntity $item
|
||||
*/
|
||||
public function __construct(Inventory $inventory, ItemEntity $item){
|
||||
$this->item = $item;
|
||||
parent::__construct($inventory);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ItemEntity
|
||||
*/
|
||||
public function getItem() : ItemEntity{
|
||||
return $this->item;
|
||||
}
|
||||
|
Reference in New Issue
Block a user