Skip to content

Commit e83e992

Browse files
holtkampmnapoli
authored andcommitted
Change PHPDoc return type of values() (#37)
To improve IDE autocompletion on the resulting items when iterating
1 parent 5b66b22 commit e83e992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Enum.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static function keys()
8686
/**
8787
* Returns instances of the Enum class of all Enum constants
8888
*
89-
* @return array Constant name in key, Enum instance in value
89+
* @return static[] Constant name in key, Enum instance in value
9090
*/
9191
public static function values()
9292
{

0 commit comments

Comments
 (0)