phpdoc armageddon for master, pass 1

This commit is contained in:
Dylan K. Taylor
2020-01-22 11:55:03 +00:00
parent 4bae3baa74
commit 67bcc1c0fb
397 changed files with 0 additions and 5391 deletions

View File

@ -46,9 +46,6 @@ class CraftItemEvent extends Event implements Cancellable{
private $outputs;
/**
* @param CraftingTransaction $transaction
* @param CraftingRecipe $recipe
* @param int $repetitions
* @param Item[] $inputs
* @param Item[] $outputs
*/
@ -62,8 +59,6 @@ class CraftItemEvent extends Event implements Cancellable{
/**
* Returns the inventory transaction involved in this crafting event.
*
* @return CraftingTransaction
*/
public function getTransaction() : CraftingTransaction{
return $this->transaction;
@ -71,8 +66,6 @@ class CraftItemEvent extends Event implements Cancellable{
/**
* Returns the recipe crafted.
*
* @return CraftingRecipe
*/
public function getRecipe() : CraftingRecipe{
return $this->recipe;
@ -81,8 +74,6 @@ class CraftItemEvent extends Event implements Cancellable{
/**
* Returns the number of times the recipe was crafted. This is usually 1, but might be more in the case of recipe
* book shift-clicks (which craft lots of items in a batch).
*
* @return int
*/
public function getRepetitions() : int{
return $this->repetitions;
@ -106,9 +97,6 @@ class CraftItemEvent extends Event implements Cancellable{
return $this->outputs;
}
/**
* @return Player
*/
public function getPlayer() : Player{
return $this->transaction->getSource();
}