Skip to content

Commit

Permalink
Add IDE expected return values
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Jan 8, 2022
1 parent 72bacfd commit d4cf339
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,11 @@
'zh-yue',
'zu',
);
registerArgumentsSet(
'locale_directions',
'ltr',
'rtl',
);
expectedArguments(
\Framework\Language\Language::currency(),
1,
Expand Down Expand Up @@ -542,3 +547,23 @@
0,
argumentsSet('locales')
);
expectedReturnValues(
\Framework\Language\Language::getCurrentLocale(),
argumentsSet('locales')
);
expectedReturnValues(
\Framework\Language\Language::getCurrentLocaleDirection(),
argumentsSet('locale_directions')
);
expectedReturnValues(
\Framework\Language\Language::getDefaultLocale(),
argumentsSet('locales')
);
expectedReturnValues(
\Framework\Language\Language::getLocaleDirection(),
argumentsSet('locale_directions')
);
expectedReturnValues(
\Framework\Language\Language::getFallbackLevel(),
argumentsSet('fallback_levels')
);

0 comments on commit d4cf339

Please sign in to comment.