mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Use typed properties in block namespace
This commit is contained in:
@ -25,11 +25,9 @@ namespace pocketmine\block;
|
||||
|
||||
class RedstoneTorch extends Torch{
|
||||
|
||||
/** @var BlockIdentifierFlattened */
|
||||
protected $idInfoFlattened;
|
||||
protected BlockIdentifierFlattened $idInfoFlattened;
|
||||
|
||||
/** @var bool */
|
||||
protected $lit = true;
|
||||
protected bool $lit = true;
|
||||
|
||||
public function __construct(BlockIdentifierFlattened $idInfo, string $name, BlockBreakInfo $breakInfo){
|
||||
$this->idInfoFlattened = $idInfo;
|
||||
|
Reference in New Issue
Block a user