phpdoc armageddon for master, pass 1

This commit is contained in:
Dylan K. Taylor
2020-01-22 11:55:03 +00:00
parent 4bae3baa74
commit 67bcc1c0fb
397 changed files with 0 additions and 5391 deletions

View File

@ -44,13 +44,6 @@ abstract class PlayerBucketEvent extends PlayerEvent implements Cancellable{
/** @var Item */
private $item;
/**
* @param Player $who
* @param Block $blockClicked
* @param int $blockFace
* @param Item $bucket
* @param Item $itemInHand
*/
public function __construct(Player $who, Block $blockClicked, int $blockFace, Item $bucket, Item $itemInHand){
$this->player = $who;
$this->blockClicked = $blockClicked;
@ -61,8 +54,6 @@ abstract class PlayerBucketEvent extends PlayerEvent implements Cancellable{
/**
* Returns the bucket used in this event
*
* @return Item
*/
public function getBucket() : Item{
return $this->bucket;
@ -70,30 +61,19 @@ abstract class PlayerBucketEvent extends PlayerEvent implements Cancellable{
/**
* Returns the item in hand after the event
*
* @return Item
*/
public function getItem() : Item{
return $this->item;
}
/**
* @param Item $item
*/
public function setItem(Item $item) : void{
$this->item = $item;
}
/**
* @return Block
*/
public function getBlockClicked() : Block{
return $this->blockClicked;
}
/**
* @return int
*/
public function getBlockFace() : int{
return $this->blockFace;
}