phpdoc: populate missing parameter typeinfo

This commit is contained in:
Dylan K. Taylor
2020-01-11 21:53:24 +00:00
parent c329ff7d4f
commit 17720041a3
20 changed files with 260 additions and 3 deletions

View File

@ -35,10 +35,16 @@ class TallGrass extends Populator{
/** @var int */
private $baseAmount = 0;
/**
* @param int $amount
*/
public function setRandomAmount($amount){
$this->randomAmount = $amount;
}
/**
* @param int $amount
*/
public function setBaseAmount($amount){
$this->baseAmount = $amount;
}

View File

@ -40,14 +40,23 @@ class Tree extends Populator{
/** @var int */
private $type;
/**
* @param int $type
*/
public function __construct($type = Sapling::OAK){
$this->type = $type;
}
/**
* @param int $amount
*/
public function setRandomAmount($amount){
$this->randomAmount = $amount;
}
/**
* @param int $amount
*/
public function setBaseAmount($amount){
$this->baseAmount = $amount;
}