]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Email.php
Fix PHPDoc comments project-wide
[friendica.git] / src / Protocol / Email.php
index 87f4091e5ea02a2dcca3c5e1085fbe1657fa0eba..55bef6d253adcf2fb2cc3bdc94f608eb1c41c219 100644 (file)
@@ -19,6 +19,7 @@ class Email
         * @param string $username The username
         * @param string $password The password
         * @return object
+        * @throws \Exception
         */
        public static function connect($mailbox, $username, $password)
        {
@@ -45,6 +46,7 @@ class Email
         * @param object $mbox       mailbox
         * @param string $email_addr email
         * @return array
+        * @throws \Exception
         */
        public static function poll($mbox, $email_addr)
        {
@@ -106,6 +108,7 @@ class Email
         * @param integer $uid   user id
         * @param string  $reply reply
         * @return array
+        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
        public static function getMessage($mbox, $uid, $reply)
        {
@@ -321,6 +324,8 @@ class Email
         *
         * @return void
         *
+        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
+        * @throws \ImagickException
         * @todo This could be changed to use the Emailer class
         */
        public static function send($addr, $subject, $headers, $item)