Completed
Push — 1.11.x ( 033bfd...c69862 )
by José
141:38 queued 100:32
created
main/inc/lib/event_email_template.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * Available driver list.
87
-     * @return array
87
+     * @return string[]
88 88
      */
89 89
     private function getDefaultDriverList()
90 90
     {
Please login to merge, or discard this patch.
main/inc/lib/events_dispatcher.class.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.
main/inc/lib/extra_field_option.lib.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
      * Gets an array of options for a specific field
413 413
      * @param int $field_id The field ID
414 414
      * @param bool $add_id_in_array Whether to add the row ID in the result
415
-     * @param null $ordered_by Extra ordering query bit
415
+     * @param null|string $ordered_by Extra ordering query bit
416 416
      * @return array The options if they exists. Otherwise return false
417 417
      */
418 418
     public function get_field_options_by_field($field_id, $add_id_in_array = false, $ordered_by = null)
@@ -782,8 +782,8 @@  discard block
 block discarded – undo
782 782
     }
783 783
 
784 784
     /**
785
-     * @param $defaultDisplayText
786
-     * @return mixed|string
785
+     * @param string $defaultDisplayText
786
+     * @return string
787 787
      */
788 788
     public static function getLanguageVariable($defaultDisplayText)
789 789
     {
Please login to merge, or discard this patch.
main/inc/lib/formvalidator/FormValidator.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -954,7 +954,7 @@
 block discarded – undo
954 954
     /**
955 955
      * This function has been created for avoiding changes directly within QuickForm class.
956 956
      * When we use it, the element is threated as 'required' to be dealt during validation.
957
-     * @param array $element The array of elements
957
+     * @param array $elements The array of elements
958 958
      * @param string $message The message displayed
959 959
      */
960 960
     public function add_multiple_required_rule($elements, $message)
Please login to merge, or discard this patch.
main/wiki/wiki.inc.php 1 patch
Doc Comments   +12 added lines, -4 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
      * This function saves a change in a wiki page
259 259
      * @author Patrick Cool <[email protected]>, Ghent University
260 260
      * @param array $values
261
-     * @return language string saying that the changes are stored
261
+     * @return string string saying that the changes are stored
262 262
      **/
263 263
     public function save_wiki($values)
264 264
     {
@@ -1196,6 +1196,7 @@  discard block
 block discarded – undo
1196 1196
      * Checks if this navigation tab has to be set to active
1197 1197
      * @author Patrick Cool <[email protected]>, Ghent University
1198 1198
      *
1199
+     * @param string $paramwk
1199 1200
      * @return string html code
1200 1201
      */
1201 1202
     public function is_active_navigation_tab($paramwk)
@@ -1711,6 +1712,7 @@  discard block
 block discarded – undo
1711 1712
 
1712 1713
     /**
1713 1714
      * Sends pending e-mails
1715
+     * @param string $type
1714 1716
      */
1715 1717
     public function check_emailcue($id_or_ref, $type, $lastime='', $lastuser='')
1716 1718
     {
@@ -2011,6 +2013,7 @@  discard block
 block discarded – undo
2011 2013
 
2012 2014
     /**
2013 2015
      * Exports the wiki page to PDF
2016
+     * @param string $course_code
2014 2017
      */
2015 2018
     public function export_to_pdf($id, $course_code)
2016 2019
     {
@@ -2478,6 +2481,7 @@  discard block
 block discarded – undo
2478 2481
     /**
2479 2482
      * Draws an HTML form select with the given options
2480 2483
      *
2484
+     * @param string $name
2481 2485
      */
2482 2486
     public function make_select($name,$values,$checked='')
2483 2487
     {
@@ -2514,7 +2518,7 @@  discard block
 block discarded – undo
2514 2518
     /**
2515 2519
      * Get wiki information
2516 2520
      * @param   int|bool     wiki id
2517
-     * @return  array   wiki data
2521
+     * @return  string   wiki data
2518 2522
      */
2519 2523
     public function getWikiDataFromDb($id)
2520 2524
     {
@@ -2561,6 +2565,7 @@  discard block
 block discarded – undo
2561 2565
      * Get wiki information
2562 2566
      * @param   string     wiki id
2563 2567
      * @param int $courseId
2568
+     * @param string $title
2564 2569
      * @return  array   wiki data
2565 2570
      */
2566 2571
     public function getPageByTitle($title, $courseId = null)
@@ -2593,6 +2598,8 @@  discard block
 block discarded – undo
2593 2598
      * @param int $courseId
2594 2599
      * @param string
2595 2600
      * @param string
2601
+     * @param string $groupfilter
2602
+     * @param string $condition_session
2596 2603
      * @return bool
2597 2604
      */
2598 2605
     public function deletePage($title, $courseId, $groupfilter = null, $condition_session = null)
@@ -3644,6 +3651,7 @@  discard block
 block discarded – undo
3644 3651
 
3645 3652
     /**
3646 3653
      * Show all pages
3654
+     * @param string $action
3647 3655
      */
3648 3656
     public function allPages($action)
3649 3657
     {
@@ -4200,7 +4208,7 @@  discard block
 block discarded – undo
4200 4208
 
4201 4209
     /**
4202 4210
      * Restore page
4203
-     * @return bool
4211
+     * @return false|null
4204 4212
      */
4205 4213
     public function restorePage()
4206 4214
     {
@@ -4302,7 +4310,7 @@  discard block
 block discarded – undo
4302 4310
     }
4303 4311
 
4304 4312
     /**
4305
-     * @param int|bool $wikiId
4313
+     * @param false|string $wikiId
4306 4314
      */
4307 4315
     public function setWikiData($wikiId)
4308 4316
     {
Please login to merge, or discard this patch.
main/inc/lib/CourseChatUtils.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1415,7 +1415,7 @@  discard block
 block discarded – undo
1415 1415
 
1416 1416
     /**
1417 1417
      * Get the emoji list to include in chat
1418
-     * @return array
1418
+     * @return string[]
1419 1419
      */
1420 1420
     public static function getEmojisToInclude()
1421 1421
     {
@@ -1738,7 +1738,7 @@  discard block
 block discarded – undo
1738 1738
 
1739 1739
     /**
1740 1740
      * Get the number of users connected in chat
1741
-     * @return mixed
1741
+     * @return integer
1742 1742
      */
1743 1743
     public function countUsersOnline()
1744 1744
     {
Please login to merge, or discard this patch.
main/gradebook/lib/GradebookUtils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -732,7 +732,7 @@
 block discarded – undo
732 732
     }
733 733
 
734 734
     /**
735
-     * @param null $course_code
735
+     * @param string $course_code
736 736
      * @param int $gradebook_model_id
737 737
      * @return mixed
738 738
      */
Please login to merge, or discard this patch.
main/inc/lib/glossary.lib.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      *
96 96
      * @param array  $values  Array of title + description (name => $title, description => $comment)
97 97
      *
98
-     * @return mixed   Term id on success, false on failure
98
+     * @return false|string   Term id on success, false on failure
99 99
      *
100 100
      */
101 101
     public static function save_glossary($values, $showMessage = true)
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
 
449 449
     /**
450 450
      * Display the glossary terms in a list
451
-     * @return bool true
451
+     * @return string true
452 452
      */
453 453
     public static function displayGlossaryList()
454 454
     {
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
      * Update action icons column
586 586
      *
587 587
      * @param integer $glossary_id
588
-     * @param array   $url_params Parameters to use to affect links
588
+     * @param string   $url_params Parameters to use to affect links
589 589
      * @param array   $row The line of results from a query on the glossary table
590 590
      *
591 591
      * @return string HTML string for the action icons columns
Please login to merge, or discard this patch.
main/inc/lib/TicketManager.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
      * @param $category_id
255 255
      * @param $course_id
256 256
      * @param $project_id
257
-     * @param $other_area
257
+     * @param integer $other_area
258 258
      * @param $email
259 259
      * @param $subject
260 260
      * @param $content
@@ -635,10 +635,10 @@  discard block
 block discarded – undo
635 635
     /**
636 636
      * Insert message between Users and Admins
637 637
      * @param $ticket_id
638
-     * @param $subject
639
-     * @param $content
638
+     * @param string $subject
639
+     * @param string $content
640 640
      * @param $file_attachments
641
-     * @param $user_id
641
+     * @param integer $user_id
642 642
      * @param string $status
643 643
      * @param bool $sendConfirmation
644 644
      * @return bool
@@ -737,9 +737,9 @@  discard block
 block discarded – undo
737 737
     /**
738 738
      * Attachment files when a message is sent
739 739
      * @param $file_attach
740
-     * @param $ticket_id
741
-     * @param $message_id
742
-     * @param $message_attch_id
740
+     * @param integer $ticket_id
741
+     * @param integer $message_id
742
+     * @param integer $message_attch_id
743 743
      * @return array
744 744
      */
745 745
     public static function save_message_attachment_file(
@@ -2002,7 +2002,7 @@  discard block
 block discarded – undo
2002 2002
     }
2003 2003
 
2004 2004
     /**
2005
-     * @param $id
2005
+     * @param integer $id
2006 2006
      * @return Project
2007 2007
      */
2008 2008
     public static function getProject($id)
Please login to merge, or discard this patch.