Add more precise return param comments

This commit is contained in:
Joshua Ramon Enslin 2022-10-22 03:25:09 +02:00
parent f9444e288f
commit b9955203eb
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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");