Completed
Push — 1.11.x ( d4cbce...fbf9a8 )
by José
48:27
created
main/admin/class_user_import.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 /**
13 13
  * Validates imported data.
14
+ * @param Ddeboer\DataImport\Reader\CsvReader $user_classes
14 15
  */
15 16
 function validate_data($user_classes) {
16 17
     global $purification_option_for_usernames;
@@ -66,6 +67,7 @@  discard block
 block discarded – undo
66 67
 
67 68
 /**
68 69
  * Saves imported data.
70
+ * @param Ddeboer\DataImport\Reader\CsvReader $users_classes
69 71
  */
70 72
 function save_data($users_classes, $deleteUsersNotInList = false) {
71 73
 
@@ -115,7 +117,7 @@  discard block
 block discarded – undo
115 117
 /**
116 118
  * Reads a CSV-file.
117 119
  * @param string $file Path to the CSV-file
118
- * @return array All course-information read from the file
120
+ * @return Ddeboer\DataImport\Reader\CsvReader All course-information read from the file
119 121
  */
120 122
 function parse_csv_data($file) {
121 123
     $courses = Import::csvToArray($file);
Please login to merge, or discard this patch.
main/admin/course_user_import.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@  discard block
 block discarded – undo
8 8
  */
9 9
 /**
10 10
  * Validates the imported data.
11
+ * @param Ddeboer\DataImport\Reader\CsvReader $users_courses
11 12
  */
12 13
 function validate_data($users_courses)
13 14
 {
@@ -66,6 +67,7 @@  discard block
 block discarded – undo
66 67
 
67 68
 /**
68 69
  * Saves imported data.
70
+ * @param Ddeboer\DataImport\Reader\CsvReader $users_courses
69 71
  */
70 72
 function save_data($users_courses)
71 73
 {
@@ -134,7 +136,7 @@  discard block
 block discarded – undo
134 136
 /**
135 137
  * Reads CSV-file.
136 138
  * @param string $file Path to the CSV-file
137
- * @return array All course-information read from the file
139
+ * @return Ddeboer\DataImport\Reader\CsvReader All course-information read from the file
138 140
  */
139 141
 function parse_csv_data($file)
140 142
 {
Please login to merge, or discard this patch.
main/ticket/tutor_report.lib.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
 /**
75 75
  * @param $courseInfo
76
- * @param $weeksCount
76
+ * @param string $weeksCount
77 77
  * @param $page
78 78
  * @return array
79 79
  */
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 
183 183
 /**
184 184
  * @param $datos
185
- * @param $pagina
185
+ * @param integer $pagina
186 186
  * @return string
187 187
  */
188 188
 function showStudentResult($datos, $pagina)
@@ -201,8 +201,8 @@  discard block
 block discarded – undo
201 201
 
202 202
 /**
203 203
  * @param $data
204
- * @param $numero_semanas
205
- * @return array
204
+ * @param integer $numero_semanas
205
+ * @return string[]
206 206
  */
207 207
 function showStudentResultExport($data, $numero_semanas)
208 208
 {
Please login to merge, or discard this patch.
plugin/azure_active_directory/src/AzureActiveDirectory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * Instance the plugin
38 38
      * @staticvar null $result
39
-     * @return Tour
39
+     * @return AzureActiveDirectory
40 40
      */
41 41
     static function create()
42 42
     {
Please login to merge, or discard this patch.
main/inc/lib/TicketManager.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -250,8 +250,8 @@  discard block
 block discarded – undo
250 250
      * Inserts a new ticket in the corresponding tables
251 251
      * @param $category_id
252 252
      * @param $course_id
253
-     * @param $project_id
254
-     * @param $other_area
253
+     * @param integer $project_id
254
+     * @param integer $other_area
255 255
      * @param $email
256 256
      * @param $subject
257 257
      * @param $content
@@ -632,10 +632,10 @@  discard block
 block discarded – undo
632 632
     /**
633 633
      * Insert message between Users and Admins
634 634
      * @param $ticket_id
635
-     * @param $subject
636
-     * @param $content
635
+     * @param string $subject
636
+     * @param string $content
637 637
      * @param $file_attachments
638
-     * @param $user_id
638
+     * @param integer $user_id
639 639
      * @param string $status
640 640
      * @param bool $sendConfirmation
641 641
      * @return bool
@@ -734,9 +734,9 @@  discard block
 block discarded – undo
734 734
     /**
735 735
      * Attachment files when a message is sent
736 736
      * @param $file_attach
737
-     * @param $ticket_id
738
-     * @param $message_id
739
-     * @param $message_attch_id
737
+     * @param integer $ticket_id
738
+     * @param integer $message_id
739
+     * @param integer $message_attch_id
740 740
      * @return array
741 741
      */
742 742
     public static function save_message_attachment_file(
@@ -1969,7 +1969,7 @@  discard block
 block discarded – undo
1969 1969
     }
1970 1970
 
1971 1971
     /**
1972
-     * @param $id
1972
+     * @param integer $id
1973 1973
      * @return Project
1974 1974
      */
1975 1975
     public static function getProject($id)
Please login to merge, or discard this patch.
main/inc/lib/link.lib.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -477,6 +477,7 @@  discard block
 block discarded – undo
477 477
      *
478 478
      * Get link info
479 479
      * @param int link id
480
+     * @param integer $id
480 481
      * @return array link info
481 482
      *
482 483
      **/
@@ -1061,7 +1062,9 @@  discard block
 block discarded – undo
1061 1062
     /**
1062 1063
      * Displays the edit, delete and move icons
1063 1064
      * @param int   Category ID
1064
-     * @return void
1065
+     * @param integer $currentCategory
1066
+     * @param integer $countCategories
1067
+     * @return string
1065 1068
      * @author Patrick Cool <[email protected]>, Ghent University
1066 1069
      */
1067 1070
     public static function showCategoryAdminTools($category, $currentCategory, $countCategories)
@@ -1225,6 +1228,7 @@  discard block
 block discarded – undo
1225 1228
     /**
1226 1229
      * CSV file import functions
1227 1230
      * @author René Haentjens , Ghent University
1231
+     * @param string $catname
1228 1232
      */
1229 1233
     public static function get_cat($catname)
1230 1234
     {
@@ -1264,6 +1268,11 @@  discard block
 block discarded – undo
1264 1268
     /**
1265 1269
      * CSV file import functions
1266 1270
      * @author René Haentjens , Ghent University
1271
+     * @param string $url
1272
+     * @param string $title
1273
+     * @param string $description
1274
+     * @param string $on_homepage
1275
+     * @param string $hidden
1267 1276
      */
1268 1277
     public static function put_link($url, $cat, $title, $description, $on_homepage, $hidden)
1269 1278
     {
@@ -1622,7 +1631,6 @@  discard block
 block discarded – undo
1622 1631
     /**
1623 1632
      * @param int $linkId
1624 1633
      * @param $action
1625
-     * @param null $urlview
1626 1634
      * @param null $token
1627 1635
      * @return FormValidator
1628 1636
      */
Please login to merge, or discard this patch.
main/inc/lib/thematic.lib.php 1 patch
Doc Comments   +9 added lines, -4 removed lines patch added patch discarded remove patch
@@ -242,6 +242,8 @@  discard block
 block discarded – undo
242 242
     /**
243 243
      * get thematic list
244 244
      * @param	int		Thematic id (optional), get list by id
245
+     * @param integer $thematic_id
246
+     * @param integer $session_id
245 247
      * @return	array	Thematic data
246 248
      */
247 249
     public static function get_thematic_list(
@@ -798,6 +800,7 @@  discard block
 block discarded – undo
798 800
     /**
799 801
      * delete  thematic advance
800 802
      * @param	int		Thematic advance id
803
+     * @param integer $thematic_advance_id
801 804
      * @return	int		Affected rows
802 805
      */
803 806
     public function thematic_advance_destroy($thematic_advance_id)
@@ -1114,6 +1117,7 @@  discard block
 block discarded – undo
1114 1117
     /**
1115 1118
      * update done thematic advances from thematic details interface
1116 1119
      * @param 	int		Thematic id
1120
+     * @param integer $thematic_advance_id
1117 1121
      * @return	int		Affected rows
1118 1122
      */
1119 1123
     public function update_done_thematic_advances($thematic_advance_id)
@@ -1296,6 +1300,7 @@  discard block
 block discarded – undo
1296 1300
      * Get total average of thematic advances
1297 1301
      * @param	string	Course code (optional)
1298 1302
      * @param	int		Session id	(optional)
1303
+     * @param integer $session_id
1299 1304
      * @return 	float	Average of thematic advances
1300 1305
      */
1301 1306
     public function get_total_average_of_thematic_advances($course_code = null, $session_id = null)
@@ -1433,7 +1438,7 @@  discard block
 block discarded – undo
1433 1438
 
1434 1439
     /**
1435 1440
      * get thematic id
1436
-     * @return void
1441
+     * @return integer
1437 1442
      */
1438 1443
     public function get_thematic_id()
1439 1444
     {
@@ -1442,7 +1447,7 @@  discard block
 block discarded – undo
1442 1447
 
1443 1448
     /**
1444 1449
      * Get thematic plan titles by default
1445
-     * @return array
1450
+     * @return string[]
1446 1451
      */
1447 1452
     public function get_default_thematic_plan_title()
1448 1453
     {
@@ -1459,7 +1464,7 @@  discard block
 block discarded – undo
1459 1464
 
1460 1465
     /**
1461 1466
      * Get thematic plan icons by default
1462
-     * @return array
1467
+     * @return string[]
1463 1468
      */
1464 1469
     public function get_default_thematic_plan_icon()
1465 1470
     {
@@ -1476,7 +1481,7 @@  discard block
 block discarded – undo
1476 1481
 
1477 1482
     /**
1478 1483
      * Get questions by default for help
1479
-     * @return array
1484
+     * @return string[]
1480 1485
      */
1481 1486
     public function get_default_question()
1482 1487
     {
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Component/CourseCopy/CourseArchiver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
 
174 174
     /**
175 175
      * @param array $file
176
-     * @return bool|string
176
+     * @return string|false
177 177
      */
178 178
     public static function import_uploaded_file($file)
179 179
     {
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Component/CourseCopy/CourseRecycler.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
     }
39 39
 
40 40
     /**
41
-     * @return bool
41
+     * @return false|null
42 42
      */
43 43
     public function create_user_folder()
44 44
     {
Please login to merge, or discard this patch.