From b021cc21388effcc039bdb7335bd3564d2b48161 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 5 Jul 2019 13:46:06 +0100 Subject: [PATCH] ItemFactory: add PhpDoc for getAllRegistered() --- src/pocketmine/item/ItemFactory.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pocketmine/item/ItemFactory.php b/src/pocketmine/item/ItemFactory.php index a6d5ae2bd..b6b076f27 100644 --- a/src/pocketmine/item/ItemFactory.php +++ b/src/pocketmine/item/ItemFactory.php @@ -486,6 +486,9 @@ class ItemFactory{ return (($id & 0xffff) << 16) | ($variant & 0xffff); } + /** + * @return Item[] + */ public static function getAllRegistered() : array{ return self::$list; }