Use typed properties in block namespace

This commit is contained in:
Dylan K. Taylor
2021-05-22 23:52:31 +01:00
parent 73c229a236
commit f68b9e79e1
68 changed files with 134 additions and 246 deletions

View File

@ -36,11 +36,9 @@ class Furnace extends Opaque{
readStateFromData as readFacingStateFromData;
}
/** @var BlockIdentifierFlattened */
protected $idInfoFlattened;
protected BlockIdentifierFlattened $idInfoFlattened;
/** @var bool */
protected $lit = false; //this is set based on the blockID
protected bool $lit = false; //this is set based on the blockID
public function __construct(BlockIdentifierFlattened $idInfo, string $name, BlockBreakInfo $breakInfo){
$this->idInfoFlattened = $idInfo;