Skip to content

Commit

Permalink
Improved return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
drola committed Oct 21, 2023
1 parent edd2c02 commit 3b2a69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static function cleanDomain(string $domain): string
* @param TranslatorBagInterface $translatorBag
* @param string $locale
* @param string $domain
* @return array 2D array, where first-level keys are domain without suffixes, and domain with '+intl-icu' suffix. Second level keys are translation keys.
* @return array<string, array<string, string>> 2D array, where first-level keys are domain without suffixes, and domain with '+intl-icu' suffix. Second level keys are translation keys.
*/
public static function getMessagesFromTranslatorBag(TranslatorBagInterface $translatorBag, string $locale, string $domain): array
{
Expand Down

0 comments on commit 3b2a69a

Please sign in to comment.