fix PhpStorm's screwups

This commit is contained in:
Dylan K. Taylor 2019-07-01 18:49:07 +01:00
parent 7aa4d974ef
commit b90be8dc5f
2 changed files with 10 additions and 10 deletions

View File

@ -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;
} }

View File

@ -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 */