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 */
private $transaction;
/** @var \pocketmine\crafting\CraftingRecipe */
/** @var CraftingRecipe */
private $recipe;
/** @var int */
private $repetitions;
@ -46,13 +46,13 @@ class CraftItemEvent extends Event implements Cancellable{
private $outputs;
/**
* @param CraftingTransaction $transaction
* @param \pocketmine\crafting\CraftingRecipe $recipe
* @param int $repetitions
* @param Item[] $inputs
* @param Item[] $outputs
* @param CraftingTransaction $transaction
* @param CraftingRecipe $recipe
* @param int $repetitions
* @param Item[] $inputs
* @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->recipe = $recipe;
$this->repetitions = $repetitions;
@ -72,9 +72,9 @@ class CraftItemEvent extends Event implements Cancellable{
/**
* Returns the recipe crafted.
*
* @return \pocketmine\crafting\CraftingRecipe
* @return CraftingRecipe
*/
public function getRecipe() : \pocketmine\crafting\CraftingRecipe{
public function getRecipe() : CraftingRecipe{
return $this->recipe;
}

View File

@ -183,7 +183,7 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
protected $permanentWindows = [];
/** @var PlayerCursorInventory */
protected $cursorInventory;
/** @var \pocketmine\crafting\CraftingGrid */
/** @var CraftingGrid */
protected $craftingGrid = null;
/** @var int */