Completed
Pull Request — master (#1262)
by Thomas
08:59
created
lib/account.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
 	}
400 400
 
401 401
 	/**
402
-	 * @return IMailBox
402
+	 * @return Mailbox|null
403 403
 	 */
404 404
 	public function getInbox() {
405 405
 		$folders = $this->getSpecialFolder('inbox', false);
@@ -716,7 +716,7 @@  discard block
 block discarded – undo
716 716
 	}
717 717
 
718 718
 	/**
719
-	 * @return string|Horde_Mail_Rfc822_List
719
+	 * @return string
720 720
 	 */
721 721
 	public function getEmail() {
722 722
 		return $this->account->getEmail();
@@ -736,7 +736,7 @@  discard block
 block discarded – undo
736 736
 	/**
737 737
 	 * Factory method for creating new messages
738 738
 	 *
739
-	 * @return OCA\Mail\Model\IMessage
739
+	 * @return Message
740 740
 	 */
741 741
 	public function newMessage() {
742 742
 		return new Message();
@@ -745,7 +745,7 @@  discard block
 block discarded – undo
745 745
 	/**
746 746
 	 * Factory method for creating new reply messages
747 747
 	 *
748
-	 * @return OCA\Mail\Model\ReplyMessage
748
+	 * @return ReplyMessage
749 749
 	 */
750 750
 	public function newReplyMessage() {
751 751
 		return new ReplyMessage();
Please login to merge, or discard this patch.
lib/model/imapmessage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
 	}
208 208
 
209 209
 	/**
210
-	 * @return array
210
+	 * @return string
211 211
 	 */
212 212
 	public function getToList($assoc = false) {
213 213
 		$e = $this->getEnvelope();
Please login to merge, or discard this patch.
lib/model/message.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	}
99 99
 
100 100
 	/**
101
-	 * @param array $flags
101
+	 * @param string[] $flags
102 102
 	 */
103 103
 	public function setFlags(array $flags) {
104 104
 		$this->flags = $flags;
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
 	}
229 229
 
230 230
 	/**
231
-	 * @return Horde_Mime_Part[]
231
+	 * @return File[]
232 232
 	 */
233 233
 	public function getAttachments() {
234 234
 		return $this->attachments;
Please login to merge, or discard this patch.
lib/service/autoconfig/autoconfig.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -83,10 +83,10 @@  discard block
 block discarded – undo
83 83
 	}
84 84
 
85 85
 	/**
86
-	 * @param $email
87
-	 * @param $password
88
-	 * @param $name
89
-	 * @return MailAccount|null
86
+	 * @param string $email
87
+	 * @param string $password
88
+	 * @param string $name
89
+	 * @return null|MailAccount
90 90
 	 */
91 91
 	public function createAutoDetected($email, $password, $name) {
92 92
 
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 	 * @param $email
174 174
 	 * @param $password
175 175
 	 * @param $name
176
-	 * @return MailAccount|null
176
+	 * @return null|MailAccount
177 177
 	 */
178 178
 	private function detectImapAndSmtp($email, $password, $name) {
179 179
 		$account = $this->imapServerDetector->detect($email, $password, $name);
Please login to merge, or discard this patch.
lib/service/autoconfig/imapconnectivitytester.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	 * @param $users
39 39
 	 * @param $password
40 40
 	 * @param $name
41
-	 * @return null|MailAccount
41
+	 * @return \OCA\Mail\Db\MailAccount|null
42 42
 	 */
43 43
 	public function test($email, $host, $users, $password, $name) {
44 44
 		if (!is_array($users)) {
Please login to merge, or discard this patch.
lib/service/htmlpurify/transformurlscheme.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,8 @@
 block discarded – undo
70 70
 	}
71 71
 
72 72
 	/**
73
-	 * @param $uri
74
-	 * @param $context
73
+	 * @param HTMLPurifier_URI $uri
74
+	 * @param HTMLPurifier_Context $context
75 75
 	 * @return HTMLPurifier_URI
76 76
 	 */
77 77
 	private function filterHttp(&$uri, $context) {
Please login to merge, or discard this patch.
lib/service/unifiedmailbox.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class UnifiedMailbox implements IMailBox {
9 9
 
10
+	/**
11
+	 * @param string $userId
12
+	 */
10 13
 	public function __construct(AccountService $accountService, $userId) {
11 14
 		$this->accountService = $accountService;
12 15
 		$this->userId = $userId;
Please login to merge, or discard this patch.
lib/controller/messagescontroller.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -409,6 +409,10 @@  discard block
 block discarded – undo
409 409
 		return \OC::$server->getURLGenerator()->getAbsoluteURL($htmlBodyUrl);
410 410
 	}
411 411
 
412
+	/**
413
+	 * @param integer $accountId
414
+	 * @param string $folderId
415
+	 */
412 416
 	private function loadMultiple($accountId, $folderId, $ids) {
413 417
 		$messages = array_map(function($id) use ($accountId, $folderId){
414 418
 			try {
@@ -427,7 +431,7 @@  discard block
 block discarded – undo
427 431
 	 * @param $id
428 432
 	 * @param $m
429 433
 	 * @param IAccount $account
430
-	 * @param $mailBox
434
+	 * @param IMailBox $mailBox
431 435
 	 * @return mixed
432 436
 	 */
433 437
 	private function enhanceMessage($accountId, $folderId, $id, $m, IAccount $account, $mailBox) {
Please login to merge, or discard this patch.
lib/service/unifiedaccount.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
 	}
206 206
 
207 207
 	/**
208
-	 * @param $messageId
208
+	 * @param string $messageId
209 209
 	 * @return array
210 210
 	 */
211 211
 	public function resolve($messageId) {
Please login to merge, or discard this patch.