mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
added missing @var property types (reported by phpstan)
This commit is contained in:
@ -39,6 +39,7 @@ class MultiRecipe{
|
||||
public const TYPE_FIREWORKS = "00000000-0000-0000-0000-000000000002";
|
||||
public const TYPE_MAP_LOCKING_CARTOGRAPHY = "602234E4-CAC1-4353-8BB7-B1EBFF70024B";
|
||||
|
||||
/** @var UUID */
|
||||
private $uuid;
|
||||
|
||||
public function __construct(UUID $uuid){
|
||||
|
@ -53,6 +53,7 @@ use function spl_object_hash;
|
||||
* @see InventoryAction
|
||||
*/
|
||||
class InventoryTransaction{
|
||||
/** @var bool */
|
||||
protected $hasExecuted = false;
|
||||
/** @var Player */
|
||||
protected $source;
|
||||
|
@ -37,6 +37,7 @@ class CreativeInventoryAction extends InventoryAction{
|
||||
*/
|
||||
public const TYPE_CREATE_ITEM = 1;
|
||||
|
||||
/** @var int */
|
||||
protected $actionType;
|
||||
|
||||
public function __construct(Item $sourceItem, Item $targetItem, int $actionType){
|
||||
|
Reference in New Issue
Block a user