From 5a5b47448e1ec132b2cd4f1212dbd6917af6a942 Mon Sep 17 00:00:00 2001 From: Menno Holtkamp Date: Mon, 1 Aug 2016 17:13:30 +0200 Subject: [PATCH] Change PHPDoc return type of values() To improve IDE autocompletion on the resulting items when iterating --- src/Enum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Enum.php b/src/Enum.php index 2ad5aea..c5555b3 100755 --- a/src/Enum.php +++ b/src/Enum.php @@ -86,7 +86,7 @@ public static function keys() /** * Returns instances of the Enum class of all Enum constants * - * @return array Constant name in key, Enum instance in value + * @return static[] Constant name in key, Enum instance in value */ public static function values() {