Add missing return value and parameter documentation
authorMatthias Schmidt <gravatronics@live.com>
Fri, 10 Jun 2016 15:46:31 +0000 (17:46 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 10 Jun 2016 15:46:31 +0000 (17:46 +0200)
wcfsetup/install/files/lib/system/email/mime/AbstractMultipartMimePart.class.php
wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php

index 9616f9b17e9204c6c4c2db199361f99d6c33668b..cd4af9705a5a4dbebd29c1b627753e5b8382e227 100644 (file)
@@ -57,6 +57,7 @@ abstract class AbstractMultipartMimePart extends AbstractMimePart implements IRe
         * Concatenates the given mime parts.
         * 
         * @param       \Traversable    $parts
+        * @return      string
         */
        protected function getConcatenatedParts($parts) {
                $content = "";
index 7941e1869ad4bbb5334005609eb68cd33400eb49..b523c151acb3f07cf90d0c0aab33e1bab9477b81 100644 (file)
@@ -34,10 +34,10 @@ class EmailTemplateEngine extends TemplateEngine {
        }
        
        /**
-        * This method always throws, because changing the template
-        * group is not supported.
+        * This method always throws, because changing the template group is not supported.
         * 
-        * @throws \BadMethodCallException
+        * @param       integer         $templateGroupID
+        * @throws      \BadMethodCallException
         */
        public function setTemplateGroupID($templateGroupID) {
                throw new \BadMethodCallException("You may not change the template group of the email template engine");