mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
phpdoc: populate missing parameter typeinfo
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user