mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@ -42,23 +42,14 @@ class EntityTeleportEvent extends EntityEvent implements Cancellable{
|
||||
$this->to = $to;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Position
|
||||
*/
|
||||
public function getFrom() : Position{
|
||||
return $this->from;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Position
|
||||
*/
|
||||
public function getTo() : Position{
|
||||
return $this->to;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Position $to
|
||||
*/
|
||||
public function setTo(Position $to) : void{
|
||||
$this->to = $to;
|
||||
}
|
||||
|
Reference in New Issue
Block a user