From 32f62785e64a329a6b41892343efdfce4a524dc0 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 10 Jun 2016 17:46:31 +0200 Subject: [PATCH] Add missing return value and parameter documentation --- .../system/email/mime/AbstractMultipartMimePart.class.php | 1 + .../files/lib/system/template/EmailTemplateEngine.class.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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"); -- 2.20.1