Fix PHPDoc comments project-wide

This commit is contained in:
Hypolite Petovan 2019-01-06 16:06:53 -05:00
parent 6077aa5847
commit 3282ce5389
113 changed files with 1703 additions and 795 deletions

View 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)