Mass removal of useless @param/@return PHPDoc annotations, pass 1

This commit is contained in:
Dylan K. Taylor
2020-01-21 15:10:18 +00:00
parent 7532c609fb
commit c4793241f5
322 changed files with 0 additions and 5360 deletions

View File

@ -44,9 +44,6 @@ class Position extends Vector3{
}
/**
* @param Vector3 $pos
* @param Level|null $level
*
* @return Position
*/
public static function fromObject(Vector3 $pos, Level $level = null){
@ -55,8 +52,6 @@ class Position extends Vector3{
/**
* Return a Position instance
*
* @return Position
*/
public function asPosition() : Position{
return new Position($this->x, $this->y, $this->z, $this->level);
@ -80,8 +75,6 @@ class Position extends Vector3{
/**
* Sets the target Level of the position.
*
* @param Level|null $level
*
* @return $this
*
* @throws \InvalidArgumentException if the specified Level has been closed
@ -97,8 +90,6 @@ class Position extends Vector3{
/**
* Checks if this object has a valid reference to a loaded Level
*
* @return bool
*/
public function isValid() : bool{
if($this->level !== null and $this->level->isClosed()){
@ -113,9 +104,6 @@ class Position extends Vector3{
/**
* Returns a side Vector
*
* @param int $side
* @param int $step
*
* @return Position
*/
public function getSide(int $side, int $step = 1){