From 33a94143fb83dc719562cd8ecacf6978e6750ab0 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 24 Jun 2016 15:49:24 +0200 Subject: [PATCH] Add missing @throws tags --- .../files/lib/system/acl/simple/SimpleAclHandler.class.php | 7 ++++--- .../lib/system/email/transport/PhpEmailTransport.class.php | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/lib/system/acl/simple/SimpleAclHandler.class.php b/wcfsetup/install/files/lib/system/acl/simple/SimpleAclHandler.class.php index 3d4c4896eb..65b59ac6ad 100644 --- a/wcfsetup/install/files/lib/system/acl/simple/SimpleAclHandler.class.php +++ b/wcfsetup/install/files/lib/system/acl/simple/SimpleAclHandler.class.php @@ -110,9 +110,10 @@ class SimpleAclHandler extends SingletonFactory { /** * Sets the user and group values for provided object type and object id. * - * @param string $objectType object type name - * @param integer $objectID object id - * @param array $values list of user and group ids + * @param string $objectType object type name + * @param integer $objectID object id + * @param array $values list of user and group ids + * @throws SystemException */ public function setValues($objectType, $objectID, array $values) { $objectTypeID = $this->getObjectTypeID($objectType); diff --git a/wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php b/wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php index be972db69f..a88e95fbc4 100644 --- a/wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php +++ b/wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php @@ -18,9 +18,10 @@ class PhpEmailTransport implements EmailTransport { /** * Delivers the given email via mail(). * - * @param \wcf\system\email\Email $email - * @param \wcf\system\email\Mailbox $envelopeFrom - * @param \wcf\system\email\Mailbox $envelopeTo + * @param Email $email + * @param Mailbox $envelopeFrom + * @param Mailbox $envelopeTo + * @throws TransientFailure */ public function deliver(Email $email, Mailbox $envelopeFrom, Mailbox $envelopeTo) { $headers = array_filter($email->getHeaders(), function ($item) { -- 2.20.1