Remove return for void methods
authorMatthias Schmidt <gravatronics@live.com>
Fri, 24 Jun 2016 11:36:47 +0000 (13:36 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 24 Jun 2016 11:37:45 +0000 (13:37 +0200)
wcfsetup/install/files/lib/system/email/mime/MultipartAlternativeMimePart.class.php
wcfsetup/install/files/lib/system/email/mime/MultipartMixedMimePart.class.php

index ba625931c746d099d08197a3b4882f4a4a8b4473..8f47dc5934a979ef11d0652f72749e68a8a8a2ed 100644 (file)
@@ -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
 }
index ad55acf7cfddaa75b8c78b38600c7af963b6c4ce..ad80dcf4dff4b37f92c12254e981670e31c4f024 100644 (file)
@@ -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
 }