Completed
Push — master ( 418c7f...d3f828 )
by Artem
05:37
created
src/dbo/accounts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -567,7 +567,7 @@
 block discarded – undo
567 567
  * On success ID of new registered account is returned.
568 568
  *
569 569
  * @param string $username User name for new account.
570
- * @param string $password Password of user.
570
+ * @param string $passwd Password of user.
571 571
  * @return int ID of new account on success, NULL otherwise.
572 572
  */
573 573
 function account_register_ldapuser ($username, $passwd = NULL)
Please login to merge, or discard this patch.
src/dbo/fields.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -622,6 +622,9 @@
 block discarded – undo
622 622
 
623 623
 /**
624 624
  * @ignore List items related UI must be remastered via jQueryUI.
625
+ * @param integer $state_id
626
+ * @param string $field_name
627
+ * @param null|string $list_items
625 628
  */
626 629
 function field_create_list_items ($state_id, $field_name, $list_items)
627 630
 {
Please login to merge, or discard this patch.
src/dbo/records.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2622,7 +2622,7 @@  discard block
 block discarded – undo
2622 2622
  * Calculates number of days since the last event of specified record.
2623 2623
  *
2624 2624
  * @param array $record Record information, as it returned by {@link record_find}.
2625
- * @return int Number of days.
2625
+ * @return double Number of days.
2626 2626
  */
2627 2627
 function get_record_last_event ($record)
2628 2628
 {
@@ -2635,7 +2635,7 @@  discard block
 block discarded – undo
2635 2635
  * Calculates number of days since the last change of state of specified record.
2636 2636
  *
2637 2637
  * @param array $record Record information, as it returned by {@link records_list}.
2638
- * @return int Number of days.
2638
+ * @return double Number of days.
2639 2639
  */
2640 2640
 function get_record_last_state ($record)
2641 2641
 {
@@ -2648,7 +2648,7 @@  discard block
 block discarded – undo
2648 2648
  * Calculates age of specified record.
2649 2649
  *
2650 2650
  * @param array $record Record information, as it returned by {@link record_find}.
2651
- * @return int Age as number of days.
2651
+ * @return double Age as number of days.
2652 2652
  */
2653 2653
 function get_record_age ($record)
2654 2654
 {
@@ -2663,7 +2663,7 @@  discard block
 block discarded – undo
2663 2663
  * Checks whether specified permissions allow to see a record.
2664 2664
  *
2665 2665
  * @param int $permissions User permissions (see also {@link record_get_permissions}).
2666
- * @return bool TRUE if record can be displayed, FALSE otherwise.
2666
+ * @return integer TRUE if record can be displayed, FALSE otherwise.
2667 2667
  */
2668 2668
 function can_record_be_displayed ($permissions)
2669 2669
 {
@@ -2874,7 +2874,6 @@  discard block
 block discarded – undo
2874 2874
  * Checks whether specified permissions allow to remove attached file from specified record.
2875 2875
  *
2876 2876
  * @param array $record Record information, as it returned by {@link record_find}.
2877
- * @param int $permissions User permissions (see also {@link record_get_permissions}).
2878 2877
  * @return bool TRUE if attached file can be removed, FALSE otherwise.
2879 2878
  */
2880 2879
 function can_file_be_removed ($record)
Please login to merge, or discard this patch.
src/dbo/reminders.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@
 block discarded – undo
273 273
 /**
274 274
  * Generates and returns message body for reminder about specified records.
275 275
  *
276
- * @param array $records Array of records data.
276
+ * @param CRecordset $records Array of records data.
277 277
  * @param int $locale ID of language. If omitted, then language of current user, or (when user is not logged in) default language will be used (see {@link LANG_DEFAULT}).
278 278
  * @return string Generated message body.
279 279
  */
Please login to merge, or discard this patch.
src/dbo/states.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
  * Finds in database and returns the information about specified state.
98 98
  *
99 99
  * @param int $id State ID.
100
- * @return array Array with data if template is found in database, FALSE otherwise.
100
+ * @return integer|null Array with data if template is found in database, FALSE otherwise.
101 101
  */
102 102
 function state_find ($id)
103 103
 {
Please login to merge, or discard this patch.
src/dbo/subscriptions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -168,11 +168,11 @@
 block discarded – undo
168 168
 /**
169 169
  * Creates new subscription.
170 170
  *
171
- * @param string $subscribe_name Subscription name.
171
+ * @param string $subscription_name Subscription name.
172 172
  * @param string $carbon_copy Carbon copy.
173
- * @param int $subscribe_type Type of subscription.
174
- * @param int $subscribe_flags Flags of subscription.
175
- * @param int $subscribe_param Parameter of subscription, depends on its type.
173
+ * @param int $subscription_type Type of subscription.
174
+ * @param int $subscription_flags Flags of subscription.
175
+ * @param int $subscription_param Parameter of subscription, depends on its type.
176 176
  * @return int Error code:
177 177
  * <ul>
178 178
  * <li>{@link NO_ERROR} - subscription is successfully created</li>
Please login to merge, or discard this patch.
src/engine/cookies.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
  * If cookie cannot be found, then specified default value is returned.
190 190
  *
191 191
  * @param string $cookie Cookie name.
192
- * @param mixed $value Default value.
192
+ * @param integer $value Default value.
193 193
  * @return mixed Cookie value when cookie exists, or default value otherwise.
194 194
  */
195 195
 function try_cookie ($cookie, $value = NULL)
Please login to merge, or discard this patch.
src/engine/debug.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -112,6 +112,11 @@
 block discarded – undo
112 112
     }
113 113
 
114 114
     // Writes specified message to opened debug log.
115
+
116
+    /**
117
+     * @param integer $type
118
+     * @param string $str
119
+     */
115 120
     public static function write ($type, $str = NULL)
116 121
     {
117 122
         if (is_null(self::$object))
Please login to merge, or discard this patch.
src/engine/smtp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
  * Reads all response lines from opened SMTP session and returns SMTP response code.
54 54
  *
55 55
  * @param string $link Socket of active SMTP session.
56
- * @return int TRUE if code of SMTP server response means SUCCESS (2xx/3xx), FALSE otherwise.
56
+ * @return boolean TRUE if code of SMTP server response means SUCCESS (2xx/3xx), FALSE otherwise.
57 57
  */
58 58
 function smtp_read_response ($link)
59 59
 {
Please login to merge, or discard this patch.