BlockIdentifier: variant parameter of constructor is now mandatory

This commit is contained in:
Dylan K. Taylor
2021-04-16 20:14:29 +01:00
parent 8d2ee516f0
commit 81ced66bd0
5 changed files with 319 additions and 319 deletions

View File

@ -28,7 +28,7 @@ class BlockIdentifierFlattened extends BlockIdentifier{
/** @var int */
private $secondId;
public function __construct(int $blockId, int $secondId, int $variant = 0, ?int $itemId = null, ?string $tileClass = null){
public function __construct(int $blockId, int $secondId, int $variant, ?int $itemId = null, ?string $tileClass = null){
parent::__construct($blockId, $variant, $itemId, $tileClass);
$this->secondId = $secondId;
}