We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e58f812 commit 967787bCopy full SHA for 967787b
src/Enum.php
@@ -109,6 +109,7 @@ final public function equals($variable = null): bool
109
* Returns the names (keys) of all constants in the Enum class
110
*
111
* @psalm-external-mutation-free
112
+ * @psalm-return list<string>
113
* @return array
114
*/
115
public static function keys()
@@ -120,6 +121,7 @@ public static function keys()
120
121
* Returns instances of the Enum class of all Enum constants
122
123
124
+ * @psalm-return array<string, static>
125
* @return static[] Constant name in key, Enum instance in value
126
127
public static function values()
0 commit comments