Add more precise return param comments
This commit is contained in:
parent
f9444e288f
commit
b9955203eb
|
@ -18,7 +18,7 @@ class MDValueSet {
|
|||
* @param string $tlFileName Name of the translation file.
|
||||
* @param string $tlVarName Variable of the translation.
|
||||
*
|
||||
* @return array<string>
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public static function getTlUnsortedList(MDTlLoader $tlLoader, array $keyList, string $tlFileName, string $tlVarName):array {
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ enum MDTodoStatus implements MDValueEnumInterface, JsonSerializable {
|
|||
*
|
||||
* @param MDTlLoader $tlLoader Translation loader.
|
||||
*
|
||||
* @return array<string>
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public static function getUnsortedList(MDTlLoader $tlLoader):array {
|
||||
return MDValueSet::getTlUnsortedList($tlLoader, self::caseNames(), "todo_status", "todo_status");
|
||||
|
@ -72,7 +72,7 @@ enum MDTodoStatus implements MDValueEnumInterface, JsonSerializable {
|
|||
*
|
||||
* @param MDTlLoader $tlLoader Translation loader.
|
||||
*
|
||||
* @return array<string>
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public static function getSortedList(MDTlLoader $tlLoader):array {
|
||||
return MDValueSet::getTlSortedList($tlLoader, self::caseNames(), "todo_status", "todo_status");
|
||||
|
|
Loading…
Reference in New Issue
Block a user