mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@ -35,10 +35,6 @@ abstract class Generator{
|
||||
|
||||
/**
|
||||
* Converts a string world seed into an integer for use by the generator.
|
||||
*
|
||||
* @param string $seed
|
||||
*
|
||||
* @return int|null
|
||||
*/
|
||||
public static function convertSeed(string $seed) : ?int{
|
||||
if($seed === ""){ //empty seed should cause a random seed to be selected - can't use 0 here because 0 is a valid seed
|
||||
@ -63,10 +59,6 @@ abstract class Generator{
|
||||
protected $random;
|
||||
|
||||
/**
|
||||
* @param ChunkManager $world
|
||||
* @param int $seed
|
||||
* @param array $options
|
||||
*
|
||||
* @throws InvalidGeneratorOptionsException
|
||||
*/
|
||||
public function __construct(ChunkManager $world, int $seed, array $options = []){
|
||||
|
Reference in New Issue
Block a user