From: Matthias Schmidt Date: Fri, 24 Jun 2016 11:36:47 +0000 (+0200) Subject: Remove return for void methods X-Git-Tag: 3.0.0_Beta_1~1359 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c8746f67cba38e2cada02233782a9a9773a31060;p=GitHub%2FWoltLab%2FWCF.git Remove return for void methods --- diff --git a/wcfsetup/install/files/lib/system/email/mime/MultipartAlternativeMimePart.class.php b/wcfsetup/install/files/lib/system/email/mime/MultipartAlternativeMimePart.class.php index ba625931c7..8f47dc5934 100644 --- a/wcfsetup/install/files/lib/system/email/mime/MultipartAlternativeMimePart.class.php +++ b/wcfsetup/install/files/lib/system/email/mime/MultipartAlternativeMimePart.class.php @@ -47,7 +47,7 @@ class MultipartAlternativeMimePart extends AbstractMultipartMimePart { */ // @codingStandardsIgnoreStart public function addMimePart(AbstractMimePart $part, $data = 1000) { - return parent::addMimePart($part, $data); + parent::addMimePart($part, $data); } // @codingStandardsIgnoreEnd } diff --git a/wcfsetup/install/files/lib/system/email/mime/MultipartMixedMimePart.class.php b/wcfsetup/install/files/lib/system/email/mime/MultipartMixedMimePart.class.php index ad55acf7cf..ad80dcf4df 100644 --- a/wcfsetup/install/files/lib/system/email/mime/MultipartMixedMimePart.class.php +++ b/wcfsetup/install/files/lib/system/email/mime/MultipartMixedMimePart.class.php @@ -31,7 +31,7 @@ class MultipartMixedMimePart extends AbstractMultipartMimePart { */ // @codingStandardsIgnoreStart public function addMimePart(AbstractMimePart $part, $data = null) { - return parent::addMimePart($part, $data); + parent::addMimePart($part, $data); } // @codingStandardsIgnoreEnd }