Passed
Push — 1.10.x ( 64f6cc...c002d1 )
by
unknown
52:14
created
main/inc/lib/blog.lib.php 1 patch
Doc Comments   +7 added lines, -11 removed lines patch added patch discarded remove patch
@@ -96,9 +96,7 @@  discard block
 block discarded – undo
96 96
 	/**
97 97
 	 * Creates a new blog in the given course
98 98
 	 * @author Toon Keppens
99
-	 * @param int $course_id Id
100 99
 	 * @param string $title
101
-	 * @param Text $description
102 100
 	 */
103 101
 	public static function create_blog($title, $subtitle)
104 102
 	{
@@ -185,9 +183,7 @@  discard block
 block discarded – undo
185 183
 	/**
186 184
 	 * Update title and subtitle of a blog in the given course
187 185
 	 * @author Toon Keppens
188
-	 * @param int $course_id Id
189 186
 	 * @param string $title
190
-	 * @param string $description
191 187
 	 */
192 188
 	public static function edit_blog($blog_id, $title, $subtitle)
193 189
 	{
@@ -711,7 +707,6 @@  discard block
 block discarded – undo
711 707
 	/**
712 708
 	 * Deletes an assigned task from a blog
713 709
 	 * @param Integer $blog_id
714
-	 * @param Integer $assignment_id
715 710
 	 */
716 711
 	public static function delete_assigned_task($blog_id, $task_id, $user_id)
717 712
 	{
@@ -1129,9 +1124,7 @@  discard block
 block discarded – undo
1129 1124
 	 *
1130 1125
 	 * @param String $type
1131 1126
 	 * @param Integer $blog_id
1132
-	 * @param Integer $item_id
1133
-	 *
1134
-	 *@return String
1127
+	 * @param integer $post_id
1135 1128
 	 */
1136 1129
 	public static function display_rating_form ($type, $blog_id, $post_id, $comment_id = NULL)
1137 1130
 	{
@@ -2136,7 +2129,7 @@  discard block
 block discarded – undo
2136 2129
 	 *
2137 2130
 	 * @param Integer $blog_id
2138 2131
 	 *
2139
-	 * @return Html Form with sortable table with users to unsubcribe from a blog.
2132
+	 * @return false|null Form with sortable table with users to unsubcribe from a blog.
2140 2133
 	 */
2141 2134
 	public static function display_form_user_unsubscribe ($blog_id)
2142 2135
 	{
@@ -2257,6 +2250,7 @@  discard block
 block discarded – undo
2257 2250
 	 * @author Toon Keppens
2258 2251
 	 *
2259 2252
 	 * @param Integer $blog_id
2253
+	 * @param integer $post_id
2260 2254
 	 */
2261 2255
 	public static function display_new_comment_form($blog_id, $post_id, $title)
2262 2256
 	{
@@ -2305,10 +2299,8 @@  discard block
 block discarded – undo
2305 2299
 	 * @author Patrick Cool
2306 2300
 	 * @author Toon Keppens
2307 2301
 	 *
2308
-	 * @param Array $blogitems an array containing all the blog items for the given month
2309 2302
 	 * @param Integer $month: the integer value of the month we are viewing
2310 2303
 	 * @param Integer $year: the 4-digit year indication e.g. 2005
2311
-	 * @param String $monthName: the language variable for the mont name
2312 2304
 	 *
2313 2305
 	 * @return html code
2314 2306
 	*/
@@ -2597,6 +2589,7 @@  discard block
 block discarded – undo
2597 2589
  * @param the blog's id
2598 2590
  * @param the post's id
2599 2591
  * @param the comment's id
2592
+ * @param integer $blog_id
2600 2593
  * @return array with the post info according the parameters
2601 2594
  * @author Julio Montoya Dokeos
2602 2595
  * @version avril 2008, dokeos 1.8.5
@@ -2638,6 +2631,9 @@  discard block
 block discarded – undo
2638 2631
  * @param the blog's id
2639 2632
  * @param the post's id
2640 2633
  * @param the comment's id
2634
+ * @param integer $blog_id
2635
+ * @param integer $post_id
2636
+ * @param integer $comment_id
2641 2637
  * @author Julio Montoya Dokeos
2642 2638
  * @version avril 2008, dokeos 1.8.5
2643 2639
  */
Please login to merge, or discard this patch.