From 51142e1bf834432231c8790d1132440600308d24 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Feb 2021 09:24:43 +0300 Subject: [PATCH] silence phpstan warning --- classes/rpc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/rpc.php b/classes/rpc.php index be45050ad..56b28910a 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -14,6 +14,8 @@ class RPC extends Handler_Protected { $rv = []; foreach (array_keys($text_domains) as $domain) { + + /** @var gettext_reader $l10n */ $l10n = _get_reader($domain); for ($i = 0; $i < $l10n->total; $i++) {