From: Matthias Schmidt Date: Fri, 10 Jun 2016 15:46:31 +0000 (+0200) Subject: Add missing return value and parameter documentation X-Git-Tag: 3.0.0_Beta_1~1460^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32f62785e64a329a6b41892343efdfce4a524dc0;p=GitHub%2FWoltLab%2FWCF.git Add missing return value and parameter documentation --- diff --git a/wcfsetup/install/files/lib/system/email/mime/AbstractMultipartMimePart.class.php b/wcfsetup/install/files/lib/system/email/mime/AbstractMultipartMimePart.class.php index 9616f9b17e..cd4af9705a 100644 --- a/wcfsetup/install/files/lib/system/email/mime/AbstractMultipartMimePart.class.php +++ b/wcfsetup/install/files/lib/system/email/mime/AbstractMultipartMimePart.class.php @@ -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 = ""; diff --git a/wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php b/wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php index 7941e1869a..b523c151ac 100644 --- a/wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/EmailTemplateEngine.class.php @@ -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");