diff --git a/src/ErrorLogger.php b/src/ErrorLogger.php index d5cf522..0a968b0 100644 --- a/src/ErrorLogger.php +++ b/src/ErrorLogger.php @@ -250,7 +250,7 @@ public function defaultMailer($message, string $email, $attachment = NULL): void if ($attachment === NULL) { parent::defaultMailer($message, $email); return; - }; + } $host = preg_replace('#[^\w.-]+#', '', isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : php_uname('n'));