mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
added missing @var property types (reported by phpstan)
This commit is contained in:
@ -31,12 +31,19 @@ use function array_fill;
|
||||
use function assert;
|
||||
|
||||
abstract class Noise{
|
||||
/** @var int[] */
|
||||
protected $perm = [];
|
||||
/** @var float */
|
||||
protected $offsetX = 0;
|
||||
/** @var float */
|
||||
protected $offsetY = 0;
|
||||
/** @var float */
|
||||
protected $offsetZ = 0;
|
||||
/** @var int */
|
||||
protected $octaves = 8;
|
||||
/** @var float */
|
||||
protected $persistence;
|
||||
/** @var float */
|
||||
protected $expansion;
|
||||
|
||||
public static function floor($x) : int{
|
||||
|
Reference in New Issue
Block a user