Completed
Push — master ( f173a6...4a27fe )
by Angel Fernando Quiroz
37:49 queued 04:39
created
src/Chamilo/SettingsBundle/Templating/Helper/SettingsHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * @param string $schemaAlias Example: admin, agenda, etc
40
-     * @return object|\Sylius\Bundle\SettingsBundle\Model\SettingsInterface
40
+     * @return \Sylius\Bundle\SettingsBundle\Model\SettingsInterface
41 41
      */
42 42
     public function getSettings($schemaAlias)
43 43
     {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
     /**
48 48
      * @param string $parameter Example: admin.administrator_name
49
-     * @return mixed
49
+     * @return string
50 50
      */
51 51
     public function getSettingsParameter($parameter)
52 52
     {
Please login to merge, or discard this patch.
src/Chamilo/SettingsBundle/Twig/SettingsExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      *
57 57
      * @param string $namespace
58 58
      *
59
-     * @return array
59
+     * @return \Sylius\Bundle\SettingsBundle\Model\SettingsInterface
60 60
      */
61 61
     public function getSettings($namespace)
62 62
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
     /**
67 67
      * @param $name
68
-     * @return mixed
68
+     * @return string
69 69
      */
70 70
     public function getSettingsParameter($name)
71 71
     {
Please login to merge, or discard this patch.
main/inc/lib/course_home.lib.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 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
      */
@@ -1014,6 +1014,7 @@  discard block
 block discarded – undo
1014 1014
      * Shows the general data for a particular meeting
1015 1015
      *
1016 1016
      * @param id	session id
1017
+     * @param integer $id_session
1017 1018
      * @return string	session data
1018 1019
      */
1019 1020
     public static function show_session_data($id_session)
@@ -1517,7 +1518,7 @@  discard block
 block discarded – undo
1517 1518
 
1518 1519
     /**
1519 1520
      * Available tools
1520
-     * @return array
1521
+     * @return string[]
1521 1522
      */
1522 1523
     public static function availableTools()
1523 1524
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Framework/PageController.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,6 +109,8 @@  discard block
 block discarded – undo
109 109
      * @param string Longer content to show (usually a <ul> list)
110 110
      * @param string ID to be added to the HTML attributes for the block
111 111
      * @param array Array of attributes to add to the HTML block
112
+     * @param string $title
113
+     * @param string $id
112 114
      * @return string HTML <div> block
113 115
      * @todo use the menu builder
114 116
      */
@@ -647,6 +649,10 @@  discard block
 block discarded – undo
647 649
 
648 650
     }
649 651
 
652
+    /**
653
+     * @param string $filter
654
+     * @param integer $page
655
+     */
650 656
     function returnSpecialCourses($user_id, $filter, $page)
651 657
     {
652 658
         if (empty($user_id)) {
@@ -745,6 +751,10 @@  discard block
 block discarded – undo
745 751
         return $html;
746 752
     }
747 753
 
754
+    /**
755
+     * @param string $filter
756
+     * @param integer $page
757
+     */
748 758
     public function returnSessionsCategories($user_id, $filter, $page)
749 759
     {
750 760
         if (empty($user_id)) {
@@ -1177,7 +1187,7 @@  discard block
 block discarded – undo
1177 1187
      * Shows a welcome message when the user doesn't have any content in
1178 1188
      * the course list
1179 1189
      * @param object A Template object used to declare variables usable in the given template
1180
-     * @return void
1190
+     * @return false|null
1181 1191
      */
1182 1192
     public function return_welcome_to_course_block($tpl)
1183 1193
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Menu/LeftMenuBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@
 block discarded – undo
225 225
      * @todo add validations
226 226
      * @param FactoryInterface $factory
227 227
      * @param array $options
228
-     * @return ItemInterface
228
+     * @return \Knp\Menu\ItemInterface
229 229
      */
230 230
     public function socialMenu(FactoryInterface $factory, array $options)
231 231
     {
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Component/CourseCopy/CourseBuilder.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @param array $array
102
+     * @param string[] $array
103 103
      */
104 104
     public function set_tools_to_build($array)
105 105
     {
@@ -512,8 +512,6 @@  discard block
 block discarded – undo
512 512
 
513 513
     /**
514 514
      * Build a link category
515
-     * @param int $id Internal link ID
516
-     * @param int $courseId Internal course ID
517 515
      * @return int
518 516
      */
519 517
     public function build_link_category($category)
Please login to merge, or discard this patch.
main/admin/course_import.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
 /**
147 147
  * Read the CSV-file
148 148
  * @param string $file Path to the CSV-file
149
- * @return array All course-information read from the file
149
+ * @return Ddeboer\DataImport\Reader\CsvReader All course-information read from the file
150 150
  */
151 151
 function parse_csv_courses_data($file)
152 152
 {
Please login to merge, or discard this patch.
main/inc/lib/career.lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-     * @return array
89
+     * @return string[]
90 90
      */
91 91
     public function get_status_list()
92 92
     {
Please login to merge, or discard this patch.
main/inc/lib/diagnoser.lib.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -435,6 +435,12 @@
 block discarded – undo
435 435
 
436 436
     /**
437 437
      * Additional functions needed for fast integration
438
+     * @param integer $status
439
+     * @param string $section
440
+     * @param string $title
441
+     * @param string $url
442
+     * @param string|null $formatter
443
+     * @param string $comment
438 444
      */
439 445
     public function build_setting(
440 446
         $status,
Please login to merge, or discard this patch.