mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Modernize private property declarations in src/item
This commit is contained in:
@@ -24,11 +24,8 @@ declare(strict_types=1);
|
||||
namespace pocketmine\item;
|
||||
|
||||
final class ItemIdentifier{
|
||||
|
||||
/** @var int */
|
||||
private $id;
|
||||
/** @var int */
|
||||
private $meta;
|
||||
private int $id;
|
||||
private int $meta;
|
||||
|
||||
public function __construct(int $id, int $meta){
|
||||
if($id < -0x8000 || $id > 0x7fff){ //signed short range
|
||||
|
Reference in New Issue
Block a user