mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Use typed properties in block namespace
This commit is contained in:
@ -25,12 +25,9 @@ namespace pocketmine\block;
|
||||
|
||||
class Element extends Opaque{
|
||||
|
||||
/** @var int */
|
||||
private $atomicWeight;
|
||||
/** @var int */
|
||||
private $group;
|
||||
/** @var string */
|
||||
private $symbol;
|
||||
private int $atomicWeight;
|
||||
private int $group;
|
||||
private string $symbol;
|
||||
|
||||
public function __construct(BlockIdentifier $idInfo, string $name, BlockBreakInfo $breakInfo, string $symbol, int $atomicWeight, int $group){
|
||||
parent::__construct($idInfo, $name, $breakInfo);
|
||||
|
Reference in New Issue
Block a user