From 758a68aa2c848165488889922755ba495b67f209 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 7 Feb 2020 20:11:31 +0000 Subject: [PATCH] ItemFactory: add Item[] as type for list field (for auto complete) --- src/pocketmine/item/ItemFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/item/ItemFactory.php b/src/pocketmine/item/ItemFactory.php index 0f933fd9c..cf1c63774 100644 --- a/src/pocketmine/item/ItemFactory.php +++ b/src/pocketmine/item/ItemFactory.php @@ -44,7 +44,7 @@ use function trim; class ItemFactory{ /** - * @var \SplFixedArray + * @var \SplFixedArray|Item[] * @phpstan-var \SplFixedArray */ private static $list;