Completed
Push — 1.11.x ( 5cb77e...c87450 )
by José
367:19 queued 327:00
created
main/inc/lib/userportal.lib.php 1 patch
Doc Comments   +8 added lines, -7 removed lines patch added patch discarded remove patch
@@ -657,6 +657,7 @@  discard block
 block discarded – undo
657 657
     * retrieves all the courses that the user has already subscribed to
658 658
     * @author Patrick Cool <[email protected]>, Ghent University, Belgium
659 659
     * @param int $user_id: the id of the user
660
+    * @param integer $user_id
660 661
     * @return array an array containing all the information of the courses of the given user
661 662
     */
662 663
     public function get_courses_of_user($user_id)
@@ -707,13 +708,13 @@  discard block
 block discarded – undo
707 708
 
708 709
     /**
709 710
      * @todo use the template system
710
-     * @param $title
711
-     * @param $content
711
+     * @param string|null $title
712
+     * @param string $content
712 713
      * @param string $id
713 714
      * @param array $params
714 715
      * @param string $idAccordion
715 716
      * @param string $idCollapse
716
-     * @return null|string
717
+     * @return string
717 718
      */
718 719
     public function show_right_block(
719 720
         $title,
@@ -937,7 +938,7 @@  discard block
 block discarded – undo
937 938
     }
938 939
 
939 940
     /**
940
-     * @return null|string
941
+     * @return string
941 942
      */
942 943
     public function return_course_block()
943 944
     {
@@ -1590,8 +1591,8 @@  discard block
 block discarded – undo
1590 1591
 
1591 1592
     /**
1592 1593
      * Return HTML code for personal user course category
1593
-     * @param $id
1594
-     * @param $title
1594
+     * @param integer $id
1595
+     * @param string $title
1595 1596
      * @return string
1596 1597
      */
1597 1598
     private static function getHtmlForUserCategory($id, $title)
@@ -1612,7 +1613,7 @@  discard block
 block discarded – undo
1612 1613
     /**
1613 1614
      * return HTML code for course display in session view
1614 1615
      * @param array $courseInfo
1615
-     * @param $userCategoryId
1616
+     * @param integer $userCategoryId
1616 1617
      * @param bool $displayButton
1617 1618
      * @param $loadDirs
1618 1619
      * @return string
Please login to merge, or discard this patch.
plugin/bbb/lib/bbb_plugin.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return BBBPlugin|null
45
+     * @return BBBPlugin
46 46
      */
47 47
     public static function create()
48 48
     {
Please login to merge, or discard this patch.
main/inc/lib/image.lib.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         return $image;
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $convert_file_to
68
+     */
66 69
     public function send_image(
67 70
         $file = '',
68 71
         $compress = -1,
@@ -144,6 +147,9 @@  discard block
 block discarded – undo
144 147
     public $image;
145 148
     public $filter = Imagick::FILTER_LANCZOS;
146 149
 
150
+    /**
151
+     * @param string $path
152
+     */
147 153
     public function __construct($path)
148 154
     {
149 155
           parent::__construct($path);
@@ -191,6 +197,10 @@  discard block
 block discarded – undo
191 197
 	}
192 198
 
193 199
 	//@todo implement border logic case for Imagick
200
+
201
+	/**
202
+	 * @param integer $border
203
+	 */
194 204
 	public function resize($thumbw, $thumbh, $border, $specific_size = false)
195 205
     {
196 206
 	    if (!$this->image_validated) return false;
@@ -272,6 +282,9 @@  discard block
 block discarded – undo
272 282
 {
273 283
     public $bg;
274 284
 
285
+    /**
286
+     * @param string $path
287
+     */
275 288
     function __construct($path) {
276 289
         parent::__construct($path);
277 290
     }
@@ -329,6 +342,9 @@  discard block
 block discarded – undo
329 342
     	}
330 343
     }
331 344
 
345
+    /**
346
+     * @param integer $border
347
+     */
332 348
     public function resize($thumbw, $thumbh, $border, $specific_size = false)
333 349
     {
334 350
         if (!$this->image_validated) return false;
Please login to merge, or discard this patch.
app/SymfonyRequirements.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
      * Adds a mandatory requirement in form of a php.ini configuration.
221 221
      *
222 222
      * @param string        $cfgName           The configuration name used for ini_get()
223
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
223
+     * @param boolean|string $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
224 224
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
225 225
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
226 226
      *                                         This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      * Adds an optional recommendation in form of a php.ini configuration.
239 239
      *
240 240
      * @param string        $cfgName           The configuration name used for ini_get()
241
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
241
+     * @param string|false $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
242 242
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
243 243
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
244 244
      *                                         This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
     /**
360 360
      * Returns the PHP configuration file (php.ini) path.
361 361
      *
362
-     * @return string|false php.ini file path
362
+     * @return string php.ini file path
363 363
      */
364 364
     public function getPhpIniConfigPath()
365 365
     {
Please login to merge, or discard this patch.
main/gradebook/lib/be/evallink.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -117,6 +117,9 @@  discard block
 block discarded – undo
117 117
         }
118 118
     }
119 119
 
120
+    /**
121
+     * @param string $name
122
+     */
120 123
     public function set_name($name)
121 124
     {
122 125
         if ($this->is_valid_link()) {
@@ -124,6 +127,9 @@  discard block
 block discarded – undo
124 127
         }
125 128
     }
126 129
 
130
+    /**
131
+     * @param string $description
132
+     */
127 133
     public function set_description($description)
128 134
     {
129 135
         if ($this->is_valid_link()) {
@@ -131,6 +137,9 @@  discard block
 block discarded – undo
131 137
         }
132 138
     }
133 139
 
140
+    /**
141
+     * @param integer $max
142
+     */
134 143
     public function set_max($max)
135 144
     {
136 145
         if ($this->is_valid_link()) {
Please login to merge, or discard this patch.
main/gradebook/lib/be/linkfactory.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 
94 94
     /**
95 95
      * Return an array of all known link types
96
-     * @return array
96
+     * @return integer[]
97 97
      */
98 98
     public static function get_all_types()
99 99
     {
Please login to merge, or discard this patch.
main/inc/lib/hook/interfaces/HookResubscribeObserverInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 interface HookResubscribeObserverInterface extends HookObserverInterface
13 13
 {
14 14
     /**
15
-     * @param HookResubscribeObserverInterface $hook
15
+     * @param HookResubscribeEventInterface $hook
16 16
      *
17 17
      * @return int
18 18
      */
Please login to merge, or discard this patch.
main/inc/lib/hook/interfaces/HookSkypeObserverInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 interface HookSkypeObserverInterface extends HookObserverInterface
13 13
 {
14 14
     /**
15
-     * @param HookSkypeObserverInterface $hook
15
+     * @param HookSkypeEventInterface $hook
16 16
      *
17 17
      * @return int
18 18
      */
Please login to merge, or discard this patch.
main/inc/lib/search/xapian/XapianQuery.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -239,6 +239,7 @@
 block discarded – undo
239 239
 /**
240 240
  * @author Isaac flores paz <[email protected]>
241 241
  * @param String The xapian error message
242
+ * @param string $xapian_error_message
242 243
  * @return String The chamilo error message
243 244
  */
244 245
 function display_xapian_error($xapian_error_message) {
Please login to merge, or discard this patch.