mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Use covariant types for InventoryHolder and Container implementors
This commit is contained in:
@ -25,10 +25,5 @@ namespace pocketmine\inventory;
|
||||
|
||||
interface InventoryHolder{
|
||||
|
||||
/**
|
||||
* Get the object related inventory
|
||||
*
|
||||
* @return Inventory
|
||||
*/
|
||||
public function getInventory();
|
||||
public function getInventory() : Inventory;
|
||||
}
|
||||
|
Reference in New Issue
Block a user