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

@ -41,35 +41,22 @@ class EntityRegainHealthEvent extends EntityEvent implements Cancellable{
/** @var int */
private $reason;
/**
* @param Entity $entity
* @param float $amount
* @param int $regainReason
*/
public function __construct(Entity $entity, float $amount, int $regainReason){
$this->entity = $entity;
$this->amount = $amount;
$this->reason = $regainReason;
}
/**
* @return float
*/
public function getAmount() : float{
return $this->amount;
}
/**
* @param float $amount
*/
public function setAmount(float $amount) : void{
$this->amount = $amount;
}
/**
* Returns one of the CAUSE_* constants to indicate why this regeneration occurred.
* @return int
*/
public function getRegainReason() : int{
return $this->reason;