1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 00:05:56 +00:00

Address PHPStan warning in 'classes/mailer.php'.

This commit is contained in:
wn_
2021-11-14 17:57:17 +00:00
parent 931a7533ce
commit 812f5f532e

View File

@@ -32,8 +32,6 @@ class Mailer {
// 4. set error message if needed via passed Mailer instance function set_error()
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_SEND_MAIL) as $p) {
// Implemented via plugin, so ignore the undefined method 'hook_send_mail'.
// @phpstan-ignore-next-line
$rc = $p->hook_send_mail($this, $params);
if ($rc == 1)