Location: add missing return types for getYaw() and getPitch()

This commit is contained in:
Dylan K. Taylor 2020-01-14 15:34:40 +00:00
parent d9bbab54f4
commit d1e56c4611

View File

@ -67,10 +67,16 @@ class Location extends Position{
return new Location($this->x, $this->y, $this->z, $this->yaw, $this->pitch, $this->level); return new Location($this->x, $this->y, $this->z, $this->yaw, $this->pitch, $this->level);
} }
/**
* @return float
*/
public function getYaw(){ public function getYaw(){
return $this->yaw; return $this->yaw;
} }
/**
* @return float
*/
public function getPitch(){ public function getPitch(){
return $this->pitch; return $this->pitch;
} }