Completed
Push — 1.11.x ( c88e69...f2c079 )
by José
148:38 queued 115:17
created
main/inc/lib/course_home.lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
     /**
219 219
      * Displays the tools of a certain category.
220 220
      *
221
-     * @return void
221
+     * @return string
222 222
      * @param string $course_tool_category	contains the category of tools to display:
223 223
      * "Public", "PublicButHide", "courseAdmin", "claroAdmin"
224 224
      */
Please login to merge, or discard this patch.
main/inc/lib/social.lib.php 1 patch
Doc Comments   +15 added lines, -5 removed lines patch added patch discarded remove patch
@@ -67,6 +67,8 @@  discard block
 block discarded – undo
67 67
      * @param int user id
68 68
      * @param int user friend id
69 69
      * @param string
70
+     * @param integer $user_id
71
+     * @param integer $user_friend
70 72
      * @author isaac flores paz
71 73
      */
72 74
     public static function get_relation_between_contacts($user_id, $user_friend)
@@ -98,6 +100,8 @@  discard block
 block discarded – undo
98 100
      * @param int group id
99 101
      * @param string name to search
100 102
      * @param bool true will load firstname, lastname, and image name
103
+     * @param integer $user_id
104
+     * @param integer $id_group
101 105
      * @return array
102 106
      * @author Julio Montoya <[email protected]> Cleaning code, function renamed, $load_extra_info option added
103 107
      * @author isaac flores paz
@@ -174,6 +178,9 @@  discard block
 block discarded – undo
174 178
      * @param int user friend id
175 179
      * @param string title of the message
176 180
      * @param string content of the message
181
+     * @param integer $user_id
182
+     * @param string $message_title
183
+     * @param string $message_content
177 184
      * @return boolean
178 185
      * @author isaac flores paz
179 186
      * @author Julio Montoya <[email protected]> Cleaning code
@@ -248,6 +255,7 @@  discard block
 block discarded – undo
248 255
      * Get number messages of the inbox
249 256
      * @author isaac flores paz
250 257
      * @param int user receiver id
258
+     * @param integer $user_receiver_id
251 259
      * @return int
252 260
      */
253 261
     public static function get_message_number_invitation_by_user_id($user_receiver_id)
@@ -290,6 +298,7 @@  discard block
 block discarded – undo
290 298
      * Get invitation list sent by user
291 299
      * @author Julio Montoya <[email protected]>
292 300
      * @param int user id
301
+     * @param integer $user_id
293 302
      * @return array()
294 303
      */
295 304
     public static function get_list_invitation_sent_by_user_id($user_id)
@@ -332,6 +341,7 @@  discard block
 block discarded – undo
332 341
      * Denies invitation
333 342
      * @param int user sender id
334 343
      * @param int user receiver id
344
+     * @param integer $user_receiver_id
335 345
      * @author isaac flores paz
336 346
      * @author Julio Montoya <[email protected]> Cleaning code
337 347
      */
@@ -426,7 +436,7 @@  discard block
 block discarded – undo
426 436
      * @param string $subject
427 437
      * @param string $content
428 438
      *
429
-     * @return string message invitation
439
+     * @return false|null message invitation
430 440
      */
431 441
     public static function sendInvitationToUser($userId, $subject = '', $content = '')
432 442
     {
@@ -1223,7 +1233,7 @@  discard block
 block discarded – undo
1223 1233
      * @param string $messageContent of the message
1224 1234
      * @param int $messageId id parent
1225 1235
      * @param string $messageStatus status type of message
1226
-     * @return boolean
1236
+     * @return false|string
1227 1237
      * @author Yannick Warnier
1228 1238
      */
1229 1239
     public static function sendWallMessage($userId, $friendId, $messageContent, $messageId = 0, $messageStatus = '')
@@ -1315,7 +1325,7 @@  discard block
 block discarded – undo
1315 1325
      * Gets all messages from someone's wall (within specific limits)
1316 1326
      * @param int $userId id of wall shown
1317 1327
      * @param string $messageStatus status wall message
1318
-     * @param int|string $parentId id message (Post main)
1328
+     * @param integer|null $parentId id message (Post main)
1319 1329
      * @param date $start Date from which we want to show the messages, in UTC time
1320 1330
      * @param int $limit Limit for the number of parent messages we want to show
1321 1331
      * @param int $offset Wall message query offset
@@ -1600,7 +1610,7 @@  discard block
 block discarded – undo
1600 1610
 
1601 1611
     /**
1602 1612
      * verify if Url Exist - Using Curl
1603
-     * @param $uri url
1613
+     * @param string $uri url
1604 1614
      *
1605 1615
      * @return boolean
1606 1616
      */
@@ -1626,7 +1636,7 @@  discard block
 block discarded – undo
1626 1636
     /**
1627 1637
     * Delete messages delete logic
1628 1638
     * @param int $id id message to delete.
1629
-    * @return bool status query
1639
+    * @return Statement|null status query
1630 1640
     */
1631 1641
     public static function deleteMessage($id)
1632 1642
     {
Please login to merge, or discard this patch.