Completed
Pull Request — 1.11.x (#1274)
by José
554:53 queued 513:46
created
main/inc/lib/thematic.lib.php 1 patch
Doc Comments   +10 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)
@@ -1403,6 +1408,7 @@  discard block
 block discarded – undo
1403 1408
      * @param	string	Content
1404 1409
      * @param	string	Date and time
1405 1410
      * @param	int		Duration in hours
1411
+     * @param integer $id
1406 1412
      * @return void
1407 1413
      */
1408 1414
     public function set_thematic_advance_attributes(
@@ -1433,7 +1439,7 @@  discard block
 block discarded – undo
1433 1439
 
1434 1440
     /**
1435 1441
      * get thematic id
1436
-     * @return void
1442
+     * @return integer
1437 1443
      */
1438 1444
     public function get_thematic_id()
1439 1445
     {
@@ -1442,7 +1448,7 @@  discard block
 block discarded – undo
1442 1448
 
1443 1449
     /**
1444 1450
      * Get thematic plan titles by default
1445
-     * @return array
1451
+     * @return string[]
1446 1452
      */
1447 1453
     public function get_default_thematic_plan_title()
1448 1454
     {
@@ -1459,7 +1465,7 @@  discard block
 block discarded – undo
1459 1465
 
1460 1466
     /**
1461 1467
      * Get thematic plan icons by default
1462
-     * @return array
1468
+     * @return string[]
1463 1469
      */
1464 1470
     public function get_default_thematic_plan_icon()
1465 1471
     {
@@ -1476,7 +1482,7 @@  discard block
 block discarded – undo
1476 1482
 
1477 1483
     /**
1478 1484
      * Get questions by default for help
1479
-     * @return array
1485
+     * @return string[]
1480 1486
      */
1481 1487
     public function get_default_question()
1482 1488
     {
Please login to merge, or discard this patch.
main/inc/lib/extra_field.lib.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     }
141 141
 
142 142
     /**
143
-     * @return array
143
+     * @return string[]
144 144
      */
145 145
     public static function getValidExtraFieldTypes()
146 146
     {
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 
218 218
     /**
219 219
      * @param array $conditions
220
-     * @param null  $order_field_options_by
220
+     * @param string  $order_field_options_by
221 221
      *
222 222
      * @return array
223 223
      */
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
     /**
376 376
      * @param string $handler
377 377
      *
378
-     * @return array
378
+     * @return string[]
379 379
      */
380 380
     public static function get_extra_fields_by_handler($handler)
381 381
     {
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
     }
575 575
 
576 576
     /**
577
-     * @return array
577
+     * @return string[]
578 578
      */
579 579
     public function get_field_types()
580 580
     {
@@ -584,7 +584,7 @@  discard block
 block discarded – undo
584 584
     /**
585 585
      * @param int $id
586 586
      *
587
-     * @return null
587
+     * @return string|null
588 588
      */
589 589
     public function get_field_type_by_id($id)
590 590
     {
@@ -1826,7 +1826,7 @@  discard block
 block discarded – undo
1826 1826
     }
1827 1827
 
1828 1828
     /**
1829
-     * @return array
1829
+     * @return string[]
1830 1830
      */
1831 1831
     public function getJqgridColumnNames()
1832 1832
     {
@@ -2086,7 +2086,7 @@  discard block
 block discarded – undo
2086 2086
     }
2087 2087
 
2088 2088
     /**
2089
-     * @param array $columns
2089
+     * @param string[] $columns
2090 2090
      * @param array  $column_model
2091 2091
      * @param array  $extraFields
2092 2092
      * @return array
Please login to merge, or discard this patch.