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

@ -36,34 +36,20 @@ class PlayerMoveEvent extends PlayerEvent implements Cancellable{
/** @var Location */
private $to;
/**
* @param Player $player
* @param Location $from
* @param Location $to
*/
public function __construct(Player $player, Location $from, Location $to){
$this->player = $player;
$this->from = $from;
$this->to = $to;
}
/**
* @return Location
*/
public function getFrom() : Location{
return $this->from;
}
/**
* @return Location
*/
public function getTo() : Location{
return $this->to;
}
/**
* @param Location $to
*/
public function setTo(Location $to) : void{
$this->to = $to;
}