From: Tim Düsterhus Date: Sat, 1 Jul 2017 17:50:35 +0000 (+0200) Subject: Fix code style X-Git-Tag: 3.1.0_Alpha_1~308^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=916d04da9db43dec21bdc12dad808afa142e596f;p=GitHub%2FWoltLab%2FWCF.git Fix code style --- diff --git a/wcfsetup/install/files/lib/system/email/Email.class.php b/wcfsetup/install/files/lib/system/email/Email.class.php index a2fdf41396..aff8a132d2 100644 --- a/wcfsetup/install/files/lib/system/email/Email.class.php +++ b/wcfsetup/install/files/lib/system/email/Email.class.php @@ -539,7 +539,7 @@ class Email { */ public function debugDump() { if (ob_get_level()) { - // discard any output generated before the exception occurred, prevents exception + // discard any output generated before the email was dumped, prevents email // being hidden inside HTML elements and therefore not visible in browser output ob_end_clean(); @@ -552,6 +552,7 @@ class Email { $dumpBody = function ($body, $depth) use (&$dumpBody) { $result = ''; + // @codingStandardsIgnoreStart if ($body instanceof mime\MimePartFacade) { return $dumpBody($body->getMimePart(), $depth); } @@ -583,6 +584,7 @@ class Email { else { throw new \LogicException('Bug'); } + // @codingStandardsIgnoreEnd return $result; };