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

@ -33,9 +33,7 @@ class EntityDeathEvent extends EntityEvent{
private $xp;
/**
* @param Living $entity
* @param Item[] $drops
* @param int $xp
*/
public function __construct(Living $entity, array $drops = [], int $xp = 0){
$this->entity = $entity;
@ -66,15 +64,12 @@ class EntityDeathEvent extends EntityEvent{
/**
* Returns how much experience is dropped due to this entity's death.
* @return int
*/
public function getXpDropAmount() : int{
return $this->xp;
}
/**
* @param int $xp
*
* @throws \InvalidArgumentException
*/
public function setXpDropAmount(int $xp) : void{