summaryrefslogtreecommitdiff
path: root/classes/mailer.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-14 17:57:17 +0000
committerwn_ <[email protected]>2021-11-14 17:59:57 +0000
commit812f5f532e73fe2a9a9aabc4c5bec97b71f5993a (patch)
treee674c3df745df125cde98f6fac7ff917e2a4a0c7 /classes/mailer.php
parent931a7533ce70f68b6890368220214e8d3f566180 (diff)
Address PHPStan warning in 'classes/mailer.php'.
Diffstat (limited to 'classes/mailer.php')
-rw-r--r--classes/mailer.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/classes/mailer.php b/classes/mailer.php
index a0f232800..339b2895a 100644
--- a/classes/mailer.php
+++ b/classes/mailer.php
@@ -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)