Add missing @throws tags
authorMatthias Schmidt <gravatronics@live.com>
Fri, 24 Jun 2016 13:49:24 +0000 (15:49 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 24 Jun 2016 13:49:24 +0000 (15:49 +0200)
wcfsetup/install/files/lib/system/acl/simple/SimpleAclHandler.class.php
wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php

index 3d4c4896eb7649e4044ee09a5d45af7d0bc2ce12..65b59ac6ad02aee595321c9227dc8ebd876454fd 100644 (file)
@@ -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);
index be972db69fbad3d66a3ee6b81c02ca86956f507a..a88e95fbc4d523958d161dd4ebf5d79495e38cf7 100644 (file)
@@ -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) {