mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-07 00:26:48 +01:00
Fix "static_lambda" CS (#9276)
This commit is contained in:
@@ -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'])) {
|
||||
|
||||
Reference in New Issue
Block a user