@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return BBBPlugin|null |
|
45 | + * @return BBBPlugin |
|
46 | 46 | */ |
47 | 47 | public static function create() |
48 | 48 | { |
@@ -63,6 +63,9 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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; |
@@ -220,7 +220,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -117,6 +117,9 @@ discard block |
||
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 |
||
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 |
||
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()) { |
@@ -93,7 +93,7 @@ |
||
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 | { |
@@ -12,7 +12,7 @@ |
||
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 | */ |
@@ -12,7 +12,7 @@ |
||
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 | */ |
@@ -239,6 +239,7 @@ |
||
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) { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * @param array $additionalParameters |
23 | 23 | * |
24 | - * @return mixed |
|
24 | + * @return void |
|
25 | 25 | */ |
26 | 26 | public function send($additionalParameters); |
27 | 27 |