mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +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