Completed
Pull Request — master (#1276)
by Thomas
04:23
created
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/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/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/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.
lib/service/htmlpurify/transformurlscheme.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @param $uri
78
-	 * @param $context
77
+	 * @param HTMLPurifier_URI $uri
78
+	 * @param \HTMLPurifier_Context $context
79 79
 	 * @return HTMLPurifier_URI
80 80
 	 */
81 81
 	private function filterHttp(&$uri, $context) {
Please login to merge, or discard this patch.
lib/controller/folderscontroller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	 * @param string $appName
44 44
 	 * @param IRequest $request
45 45
 	 * @param AccountService $accountService
46
-	 * @param $UserId
46
+	 * @param string $UserId
47 47
 	 */
48 48
 	public function __construct($appName, IRequest $request, AccountService $accountService, $UserId) {
49 49
 		parent::__construct($appName, $request);
Please login to merge, or discard this patch.
lib/controller/messagescontroller.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	 * @param string $appName
70 70
 	 * @param IRequest $request
71 71
 	 * @param AccountService $accountService
72
-	 * @param $UserId
72
+	 * @param string $UserId
73 73
 	 * @param $userFolder
74 74
 	 * @param ContactsIntegration $contactsIntegration
75 75
 	 * @param Logger $logger
@@ -411,6 +411,10 @@  discard block
 block discarded – undo
411 411
 		return \OC::$server->getURLGenerator()->getAbsoluteURL($htmlBodyUrl);
412 412
 	}
413 413
 
414
+	/**
415
+	 * @param integer $accountId
416
+	 * @param string $folderId
417
+	 */
414 418
 	private function loadMultiple($accountId, $folderId, $ids) {
415 419
 		$messages = array_map(function($id) use ($accountId, $folderId){
416 420
 			try {
@@ -429,7 +433,7 @@  discard block
 block discarded – undo
429 433
 	 * @param $id
430 434
 	 * @param $m
431 435
 	 * @param IAccount $account
432
-	 * @param $mailBox
436
+	 * @param IMailBox $mailBox
433 437
 	 * @return mixed
434 438
 	 */
435 439
 	private function enhanceMessage($accountId, $folderId, $id, $m, IAccount $account, $mailBox) {
Please login to merge, or discard this patch.
lib/service/autoconfig/autoconfig.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 	/**
56 56
 	 * 
57 57
 	 * @param Logger $logger
58
-	 * @param string $userId
58
+	 * @param string $UserId
59 59
 	 * @param MozillaIspDb $mozillaIspDb
60 60
 	 * @param MxRecord $mxRecord
61 61
 	 * @param ImapConnectivityTester $imapTester
@@ -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.