Fix "static_lambda" CS (#9276)

This commit is contained in:
Michael Voříšek
2023-12-20 20:01:00 +01:00
committed by GitHub
parent a689d4cda0
commit a9167a0d2f
60 changed files with 219 additions and 220 deletions

View File

@@ -62,7 +62,7 @@ class rcmail_sendmail
$this->options['sendmail_delay'] = (int) $this->rcmail->config->get('sendmail_delay');
if (empty($options['error_handler'])) {
$this->options['error_handler'] = function () { return false; };
$this->options['error_handler'] = static function () { return false; };
}
if (empty($this->data['mode'])) {