diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-11-13 18:38:32 +0000 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-11-13 18:38:32 +0000 |
| commit | 394d606fe977a331f733c62e5509469c2eb3ef31 (patch) | |
| tree | 27832a131eafec209a8de1361c35c69baa45231f /classes/Plugin.php | |
| parent | 6273e26ea463e2762f2d736455f4912de7171cfa (diff) | |
| parent | 859ce4d7f69a46716a10eacc485ffaf9867a76d4 (diff) | |
Merge branch 'feature/phpstan-2.0.x' into 'master'
PHPStan 2.0.x
See merge request tt-rss/tt-rss!74
Diffstat (limited to 'classes/Plugin.php')
| -rw-r--r-- | classes/Plugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Plugin.php b/classes/Plugin.php index cc50ae75e..62211f338 100644 --- a/classes/Plugin.php +++ b/classes/Plugin.php @@ -76,7 +76,7 @@ abstract class Plugin { * * @return string */ function __($msgid) { - /** @var Plugin $this -- this is a strictly template-related hack */ + // this is a strictly template-related hack return _dgettext(PluginHost::object_to_domain($this), $msgid); } @@ -87,7 +87,7 @@ abstract class Plugin { * * @return string */ function _ngettext($singular, $plural, $number) { - /** @var Plugin $this -- this is a strictly template-related hack */ + // this is a strictly template-related hack return _dngettext(PluginHost::object_to_domain($this), $singular, $plural, $number); } |