Completed
Push — 16.1 ( 7ccc73...046888 )
by Nathan
64:46 queued 51:15
created
api/src/Mail/Imap.php 1 patch
Doc Comments   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 	 * Construtor
141 141
 	 *
142 142
 	 * @param array
143
-	 * @param bool|int|string $_adminConnection create admin connection if true or account_id or imap username
143
+	 * @param boolean|string $_adminConnection create admin connection if true or account_id or imap username
144 144
 	 * @param int $_timeout =null timeout in secs, if none given fmail pref or default of 20 is used
145 145
 	 * @return void
146 146
 	 */
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
 	 * Returns an array containing the names of the selected mailboxes
565 565
 	 *
566 566
 	 * @param   string  $reference          base mailbox to start the search (default is current mailbox)
567
-	 * @param   string  $restriction_search false or 0 means return all mailboxes
567
+	 * @param   integer  $restriction_search false or 0 means return all mailboxes
568 568
 	 *                                      true or 1 return only the mailbox that contains that exact name
569 569
 	 *                                      2 return all mailboxes in that hierarchy level
570 570
 	 * @param   string  $returnAttributes   true means return an assoc array containing mailbox names and mailbox attributes
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
 	 * Returns an array containing the names of the subscribed selected mailboxes
649 649
 	 *
650 650
 	 * @param   string  $reference          base mailbox to start the search
651
-	 * @param   string  $restriction_search false or 0 means return all mailboxes
651
+	 * @param   integer  $restriction_search false or 0 means return all mailboxes
652 652
 	 *                                      true or 1 return only the mailbox that contains that exact name
653 653
 	 *                                      2 return all mailboxes in that hierarchy level
654 654
 	 * @param   string  $returnAttributes   true means return an assoc array containing mailbox names and mailbox attributes
@@ -716,7 +716,7 @@  discard block
 block discarded – undo
716 716
 	 * Returns an array containing the names of the selected unsubscribed mailboxes
717 717
 	 *
718 718
 	 * @param   string  $reference          base mailbox to start the search
719
-	 * @param   string  $restriction_search false or 0 means return all mailboxes
719
+	 * @param   integer  $restriction_search false or 0 means return all mailboxes
720 720
 	 *                                      true or 1 return only the mailbox that contains that exact name
721 721
 	 *                                      2 return all mailboxes in that hierarchy level
722 722
 	 *
@@ -894,6 +894,7 @@  discard block
 block discarded – undo
894 894
 	 *
895 895
 	 * @var array $_nameSpace
896 896
 	 * @var string $_folderName
897
+	 * @param string $_folderName
897 898
 	 * @return string the prefix (may be an empty string)
898 899
 	 */
899 900
 	static function getFolderPrefixFromNamespace($_nameSpace, $_folderName)
@@ -912,7 +913,7 @@  discard block
 block discarded – undo
912 913
 	 * @param string $_mailbox
913 914
 	 * @param string $delimiter
914 915
 	 * @param string $prefix
915
-	 * @param string $reclevel = 0, counter to keep track of the current recursionlevel
916
+	 * @param integer $reclevel = 0, counter to keep track of the current recursionlevel
916 917
 	 * @return array of mailboxes
917 918
 	 */
918 919
 	function getMailBoxesRecursive($_mailbox, $delimiter, $prefix, $reclevel=0)
@@ -1344,7 +1345,7 @@  discard block
 block discarded – undo
1344 1345
 	/**
1345 1346
 	 * Get vacation message for given user
1346 1347
 	 *
1347
-	 * @param int|string $_euser nummeric account_id or imap username
1348
+	 * @param string|null $_euser nummeric account_id or imap username
1348 1349
 	 * @param string $_scriptName =null
1349 1350
 	 * @throws Exception on connection error or authentication failure
1350 1351
 	 * @return array
Please login to merge, or discard this patch.
api/src/Mail/Imap/Iface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -121,6 +121,7 @@
 block discarded – undo
121 121
 	 * @param bool $_adminConnection create admin connection if true
122 122
 	 * @param int $_timeout =null timeout in secs, if none given fmail pref or default of 20 is used
123 123
 	 * @throws Exception on error
124
+	 * @return void
124 125
 	 */
125 126
 	function openConnection($_adminConnection=false, $_timeout=null);
126 127
 
Please login to merge, or discard this patch.
api/src/Mail/Sieve.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Constructor
84 84
 	 *
85
-	 * @param array|Imap $params =array()
85
+	 * @param Imap $params =array()
86 86
 	 */
87 87
 	function __construct($params=array())
88 88
 	{
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 *
166 166
 	 * @param array $_emailNotification
167 167
 	 * @param string $_scriptName
168
-	 * @return Script
168
+	 * @return boolean
169 169
 	 */
170 170
 	function setEmailNotification(array $_emailNotification, $_scriptName=null)
171 171
 	{
Please login to merge, or discard this patch.
api/src/Mail/Smtp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 	/**
157 157
 	 * Get the data of a given user
158 158
 	 *
159
-	 * @param int|string $user numerical account-id, account-name or email address
159
+	 * @param integer $user numerical account-id, account-name or email address
160 160
 	 * @param boolean $match_uid_at_domain =true true: uid@domain matches, false only an email or alias address matches
161 161
 	 * @return array with values for keys 'mailLocalAddress', 'mailAlternateAddress' (array), 'mailForwardingAddress' (array),
162 162
 	 * 	'accountStatus' ("active"), 'quotaLimit' and 'deliveryMode' ("forwardOnly")
Please login to merge, or discard this patch.
api/src/Mail/Smtp/Ldap.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -628,7 +628,7 @@
 block discarded – undo
628 628
 	 * @param int $_accountID
629 629
 	 * @param string $_forwardingAddress
630 630
 	 * @param string $_keepLocalCopy 'yes'
631
-	 * @return boolean true on success, false on error writing to ldap
631
+	 * @return boolean|null true on success, false on error writing to ldap
632 632
 	 */
633 633
 	function saveSMTPForwarding($_accountID, $_forwardingAddress, $_keepLocalCopy)
634 634
 	{
Please login to merge, or discard this patch.
api/src/Session.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -311,6 +311,7 @@  discard block
 block discarded – undo
311 311
 	 * Encrypt the variables in the session
312 312
 	 *
313 313
 	 * Is called by self::__destruct().
314
+	 * @param string $kp3
314 315
 	 */
315 316
 	static function encrypt($kp3)
316 317
 	{
@@ -439,7 +440,7 @@  discard block
 block discarded – undo
439 440
 	 * @param boolean $no_session =false dont create a real session, eg. for GroupDAV clients using only basic auth, no cookie support
440 441
 	 * @param boolean $auth_check =true if false, the user is loged in without checking his password (eg. for single sign on), default = true
441 442
 	 * @param boolean $fail_on_forced_password_change =false true: do NOT create session, if password change requested
442
-	 * @return string|boolean session id or false if session was not created, $this->(cd_)reason contains cause
443
+	 * @return false|string session id or false if session was not created, $this->(cd_)reason contains cause
443 444
 	 */
444 445
 	function create($login,$passwd = '',$passwd_type = '',$no_session=false,$auth_check=true,$fail_on_forced_password_change=false)
445 446
 	{
@@ -1021,7 +1022,7 @@  discard block
 block discarded – undo
1021 1022
 	/**
1022 1023
 	 * Terminate a session
1023 1024
 	 *
1024
-	 * @param int|string $sessionid nummeric or php session id of session to be terminated
1025
+	 * @param string $sessionid nummeric or php session id of session to be terminated
1025 1026
 	 * @param string $kp3
1026 1027
 	 * @return boolean true on success, false on error
1027 1028
 	 */
Please login to merge, or discard this patch.
api/src/Storage.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
 	 * @param string $join ='' sql to do a join, added as is after the table-name, eg. ", table2 WHERE x=y" or
367 367
 	 *	"LEFT JOIN table2 ON (x=y)", Note: there's no quoting done on $join!
368 368
 	 * @param boolean $need_full_no_count =false If true an unlimited query is run to determine the total number of rows, default false
369
-	 * @param mixed $only_keys =false, see search
369
+	 * @param boolean $only_keys =false, see search
370 370
 	 * @param string|array $extra_cols =array()
371 371
 	 * @return int total number of rows
372 372
 	 */
@@ -734,7 +734,7 @@  discard block
 block discarded – undo
734 734
 	 * Check if cf is stored as 1:N relation in DB and array in memory
735 735
 	 *
736 736
 	 * @param string $name
737
-	 * @return string
737
+	 * @return boolean
738 738
 	 */
739 739
 	function is_multiple($name)
740 740
 	{
Please login to merge, or discard this patch.
api/src/Storage/History.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -112,6 +112,8 @@
 block discarded – undo
112 112
 
113 113
 	/**
114 114
 	 * Static function to add a history record
115
+	 * @param string $field_code
116
+	 * @param string $new_value
115 117
 	 */
116 118
 	public static function static_add($appname, $id, $user, $field_code, $new_value, $old_value = '')
117 119
 	{
Please login to merge, or discard this patch.
api/src/Storage/Tracking.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
 	 * @param array $data current entry
529 529
 	 * @param array $old = null old/last state of the entry or null for a new entry
530 530
 	 * @param boolean $deleted = null can be set to true to let the tracking know the item got deleted or undelted
531
-	 * @param array $email_notified=null if present will return the emails notified, if given emails in that list will not be notified
531
+	 * @param array $email_notified if present will return the emails notified, if given emails in that list will not be notified
532 532
 	 * @return boolean true on success, false on error (error messages are in $this->errors)
533 533
 	 */
534 534
 	public function do_notifications($data,$old,$deleted=null,&$email_notified=null)
@@ -824,7 +824,6 @@  discard block
 block discarded – undo
824 824
 	 * The default implementation prefers depending on the prefer_user_as_sender class-var the user over
825 825
 	 * what is returned by get_config('sender').
826 826
 	 *
827
-	 * @param int $user account_lid of user
828 827
 	 * @param array $data
829 828
 	 * @param array $old
830 829
 	 * @param bool $prefer_id returns the userid rather than email
Please login to merge, or discard this patch.