From c8746f67cba38e2cada02233782a9a9773a31060 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 24 Jun 2016 13:36:47 +0200 Subject: [PATCH] Remove return for void methods --- .../system/email/mime/MultipartAlternativeMimePart.class.php | 2 +- .../lib/system/email/mime/MultipartMixedMimePart.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.20.1