From: Matthias Schmidt Date: Fri, 24 Jun 2016 13:49:24 +0000 (+0200) Subject: Add missing @throws tags X-Git-Tag: 3.0.0_Beta_1~1356^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33a94143fb83dc719562cd8ecacf6978e6750ab0;p=GitHub%2FWoltLab%2FWCF.git Add missing @throws tags --- 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) {