mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
tile\Banner: fixed bad default value for patterns field
detected by PHPStan on level 3
This commit is contained in:
@ -47,7 +47,7 @@ class Banner extends Spawnable{
|
||||
private $baseColor;
|
||||
|
||||
/** @var BannerPattern[]|Deque */
|
||||
private $patterns = [];
|
||||
private $patterns;
|
||||
|
||||
public function __construct(World $world, Vector3 $pos){
|
||||
$this->baseColor = DyeColor::BLACK();
|
||||
|
Reference in New Issue
Block a user