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,12 +41,6 @@ class EntityShootBowEvent extends EntityEvent implements Cancellable{
/** @var float */
private $force;
/**
* @param Living $shooter
* @param Item $bow
* @param Projectile $projectile
* @param float $force
*/
public function __construct(Living $shooter, Item $bow, Projectile $projectile, float $force){
$this->entity = $shooter;
$this->bow = $bow;
@ -61,9 +55,6 @@ class EntityShootBowEvent extends EntityEvent implements Cancellable{
return $this->entity;
}
/**
* @return Item
*/
public function getBow() : Item{
return $this->bow;
}
@ -72,16 +63,11 @@ class EntityShootBowEvent extends EntityEvent implements Cancellable{
* Returns the entity considered as the projectile in this event.
*
* NOTE: This might not return a Projectile if a plugin modified the target entity.
*
* @return Entity
*/
public function getProjectile() : Entity{
return $this->projectile;
}
/**
* @param Entity $projectile
*/
public function setProjectile(Entity $projectile) : void{
if($projectile !== $this->projectile){
if(count($this->projectile->getViewers()) === 0){
@ -91,16 +77,10 @@ class EntityShootBowEvent extends EntityEvent implements Cancellable{
}
}
/**
* @return float
*/
public function getForce() : float{
return $this->force;
}
/**
* @param float $force
*/
public function setForce(float $force) : void{
$this->force = $force;
}