Skip to content

Commit c6fbc0c

Browse files
author
Fabio Piro
committed
Fixed wrong return value in doc annotation
1 parent d35a834 commit c6fbc0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Minimalcode/Enumeration/AbstractEnum.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ final public static function forOrdinal($ordinal)
135135
}
136136

137137
/**
138-
* @return array
138+
* @return static[]
139139
* @throws \LogicException On ambiguous constant values
140140
*/
141141
final public static function all()
@@ -241,4 +241,4 @@ final public function __wakeup()
241241
{
242242
throw new LogicException('Enums are not serializable');
243243
}
244-
}
244+
}

0 commit comments

Comments
 (0)