mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Item: fixed documentation of pop() return type (it's not fluent)
This commit is contained in:
parent
10317527e4
commit
50fcdd6e7e
@ -569,7 +569,7 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
/**
|
||||
* Pops an item from the stack and returns it, decreasing the stack count of this item stack by one.
|
||||
*
|
||||
* @return $this
|
||||
* @return static A clone of this itemstack containing the amount of items that were removed from this stack.
|
||||
* @throws \InvalidArgumentException if trying to pop more items than are on the stack
|
||||
*/
|
||||
public function pop(int $count = 1) : Item{
|
||||
|
Loading…
x
Reference in New Issue
Block a user