Skip to content

Commit

Permalink
[Translation] Add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Oct 14, 2023
1 parent 4e40057 commit 96015d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Util/ArrayConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ private static function cancelExpand(array &$tree, string $prefix, array $node)
}
}

private static function getKeyParts(string $key)
/**
* @return string[]
*/
private static function getKeyParts(string $key): array
{
$parts = explode('.', $key);
$partsCount = \count($parts);
Expand Down

0 comments on commit 96015d7

Please sign in to comment.