mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-29 06:25:16 +00:00
fix PhpStorm's screwups
This commit is contained in:
parent
7aa4d974ef
commit
b90be8dc5f
@ -36,7 +36,7 @@ class CraftItemEvent extends Event implements Cancellable{
|
|||||||
|
|
||||||
/** @var CraftingTransaction */
|
/** @var CraftingTransaction */
|
||||||
private $transaction;
|
private $transaction;
|
||||||
/** @var \pocketmine\crafting\CraftingRecipe */
|
/** @var CraftingRecipe */
|
||||||
private $recipe;
|
private $recipe;
|
||||||
/** @var int */
|
/** @var int */
|
||||||
private $repetitions;
|
private $repetitions;
|
||||||
@ -46,13 +46,13 @@ class CraftItemEvent extends Event implements Cancellable{
|
|||||||
private $outputs;
|
private $outputs;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param CraftingTransaction $transaction
|
* @param CraftingTransaction $transaction
|
||||||
* @param \pocketmine\crafting\CraftingRecipe $recipe
|
* @param CraftingRecipe $recipe
|
||||||
* @param int $repetitions
|
* @param int $repetitions
|
||||||
* @param Item[] $inputs
|
* @param Item[] $inputs
|
||||||
* @param Item[] $outputs
|
* @param Item[] $outputs
|
||||||
*/
|
*/
|
||||||
public function __construct(CraftingTransaction $transaction, \pocketmine\crafting\CraftingRecipe $recipe, int $repetitions, array $inputs, array $outputs){
|
public function __construct(CraftingTransaction $transaction, CraftingRecipe $recipe, int $repetitions, array $inputs, array $outputs){
|
||||||
$this->transaction = $transaction;
|
$this->transaction = $transaction;
|
||||||
$this->recipe = $recipe;
|
$this->recipe = $recipe;
|
||||||
$this->repetitions = $repetitions;
|
$this->repetitions = $repetitions;
|
||||||
@ -72,9 +72,9 @@ class CraftItemEvent extends Event implements Cancellable{
|
|||||||
/**
|
/**
|
||||||
* Returns the recipe crafted.
|
* Returns the recipe crafted.
|
||||||
*
|
*
|
||||||
* @return \pocketmine\crafting\CraftingRecipe
|
* @return CraftingRecipe
|
||||||
*/
|
*/
|
||||||
public function getRecipe() : \pocketmine\crafting\CraftingRecipe{
|
public function getRecipe() : CraftingRecipe{
|
||||||
return $this->recipe;
|
return $this->recipe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
|
|||||||
protected $permanentWindows = [];
|
protected $permanentWindows = [];
|
||||||
/** @var PlayerCursorInventory */
|
/** @var PlayerCursorInventory */
|
||||||
protected $cursorInventory;
|
protected $cursorInventory;
|
||||||
/** @var \pocketmine\crafting\CraftingGrid */
|
/** @var CraftingGrid */
|
||||||
protected $craftingGrid = null;
|
protected $craftingGrid = null;
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user