mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +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 */
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user