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

@ -34,18 +34,11 @@ abstract class ChunkEvent extends LevelEvent{
/** @var Chunk */
private $chunk;
/**
* @param Level $level
* @param Chunk $chunk
*/
public function __construct(Level $level, Chunk $chunk){
parent::__construct($level);
$this->chunk = $chunk;
}
/**
* @return Chunk
*/
public function getChunk() : Chunk{
return $this->chunk;
}

View File

@ -39,9 +39,6 @@ class ChunkLoadEvent extends ChunkEvent{
$this->newChunk = $newChunk;
}
/**
* @return bool
*/
public function isNewChunk() : bool{
return $this->newChunk;
}

View File

@ -33,16 +33,10 @@ abstract class LevelEvent extends Event{
/** @var Level */
private $level;
/**
* @param Level $level
*/
public function __construct(Level $level){
$this->level = $level;
}
/**
* @return Level
*/
public function getLevel() : Level{
return $this->level;
}

View File

@ -34,18 +34,11 @@ class SpawnChangeEvent extends LevelEvent{
/** @var Position */
private $previousSpawn;
/**
* @param Level $level
* @param Position $previousSpawn
*/
public function __construct(Level $level, Position $previousSpawn){
parent::__construct($level);
$this->previousSpawn = $previousSpawn;
}
/**
* @return Position
*/
public function getPreviousSpawn() : Position{
return $this->previousSpawn;
}