silence phpstan warning

This commit is contained in:
Andrew Dolgov 2021-02-26 09:24:43 +03:00
parent 7815a881e8
commit 51142e1bf8
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ class RPC extends Handler_Protected {
$rv = []; $rv = [];
foreach (array_keys($text_domains) as $domain) { foreach (array_keys($text_domains) as $domain) {
/** @var gettext_reader $l10n */
$l10n = _get_reader($domain); $l10n = _get_reader($domain);
for ($i = 0; $i < $l10n->total; $i++) { for ($i = 0; $i < $l10n->total; $i++) {