@@ -567,7 +567,7 @@ |
||
567 | 567 | * |
568 | 568 | * @param type |
569 | 569 | * |
570 | - * @return type |
|
570 | + * @return string |
|
571 | 571 | */ |
572 | 572 | protected function _compact_exploded_words($matches) |
573 | 573 | { |
@@ -81,6 +81,9 @@ discard block |
||
81 | 81 | } |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param integer $bytes |
|
86 | + */ |
|
84 | 87 | function read($bytes) |
85 | 88 | { |
86 | 89 | return $this->STREAM->read($bytes); |
@@ -90,6 +93,7 @@ discard block |
||
90 | 93 | * Reads an array of Integers from the Stream |
91 | 94 | * |
92 | 95 | * @param int count How many elements should be read |
96 | + * @param integer $count |
|
93 | 97 | * |
94 | 98 | * @return Array of Integers |
95 | 99 | */ |
@@ -109,6 +113,7 @@ discard block |
||
109 | 113 | * |
110 | 114 | * @param object Reader the StreamReader object |
111 | 115 | * @param boolean enable_cache Enable or disable caching of strings (default on) |
116 | + * @param FileReader|null $Reader |
|
112 | 117 | */ |
113 | 118 | public function __construct($Reader, $enable_cache = true) |
114 | 119 | { |
@@ -186,6 +191,7 @@ discard block |
||
186 | 191 | * @access private |
187 | 192 | * |
188 | 193 | * @param int num Offset number of original string |
194 | + * @param integer $num |
|
189 | 195 | * |
190 | 196 | * @return string Requested string if found, otherwise '' |
191 | 197 | */ |
@@ -206,6 +212,7 @@ discard block |
||
206 | 212 | * @access private |
207 | 213 | * |
208 | 214 | * @param int num Offset number of original string |
215 | + * @param integer $num |
|
209 | 216 | * |
210 | 217 | * @return string Requested string if found, otherwise '' |
211 | 218 | */ |
@@ -299,6 +306,7 @@ discard block |
||
299 | 306 | * Sanitize plural form expression for use in PHP eval call. |
300 | 307 | * |
301 | 308 | * @access private |
309 | + * @param string $expr |
|
302 | 310 | * @return string sanitized plural form expression |
303 | 311 | */ |
304 | 312 | function sanitize_plural_expression($expr) |
@@ -407,8 +415,9 @@ discard block |
||
407 | 415 | * @param string single |
408 | 416 | * @param string plural |
409 | 417 | * @param string number |
418 | + * @param string $single |
|
410 | 419 | * |
411 | - * @return translated plural form |
|
420 | + * @return string plural form |
|
412 | 421 | */ |
413 | 422 | function ngettext($single, $plural, $number) |
414 | 423 | { |
@@ -18,8 +18,10 @@ |
||
18 | 18 | /** |
19 | 19 | * Get Advertisements in the database. |
20 | 20 | * |
21 | - * @param int|null $mActive 1 = active otherwise null. Default value is 1. |
|
21 | + * @param integer $mActive 1 = active otherwise null. Default value is 1. |
|
22 | 22 | * @param string $sTable The table. |
23 | + * @param integer $iOffset |
|
24 | + * @param integer $iLimit |
|
23 | 25 | * |
24 | 26 | * @return array The advertisements data. |
25 | 27 | */ |
@@ -181,14 +181,14 @@ |
||
181 | 181 | } |
182 | 182 | |
183 | 183 | /** |
184 | - * @param $name |
|
184 | + * @param string $name |
|
185 | 185 | * @param $value |
186 | 186 | * @param $output |
187 | 187 | * @param $selected |
188 | - * @param $extra |
|
189 | - * @param $separator |
|
190 | - * @param $labels |
|
191 | - * @param $label_ids |
|
188 | + * @param string $extra |
|
189 | + * @param string $separator |
|
190 | + * @param boolean $labels |
|
191 | + * @param boolean $label_ids |
|
192 | 192 | * @param bool $escape |
193 | 193 | * |
194 | 194 | * @return string |
@@ -211,9 +211,9 @@ |
||
211 | 211 | * @param $key |
212 | 212 | * @param $values |
213 | 213 | * @param $selected |
214 | - * @param $id |
|
214 | + * @param string|null $id |
|
215 | 215 | * @param $class |
216 | - * @param $idx |
|
216 | + * @param integer $idx |
|
217 | 217 | * |
218 | 218 | * @return string |
219 | 219 | */ |
@@ -168,15 +168,15 @@ |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @param $name |
|
171 | + * @param string $name |
|
172 | 172 | * @param $value |
173 | 173 | * @param $output |
174 | 174 | * @param $selected |
175 | - * @param $extra |
|
176 | - * @param $separator |
|
177 | - * @param $labels |
|
178 | - * @param $label_ids |
|
179 | - * @param $escape |
|
175 | + * @param string $extra |
|
176 | + * @param string $separator |
|
177 | + * @param boolean $labels |
|
178 | + * @param boolean $label_ids |
|
179 | + * @param boolean $escape |
|
180 | 180 | * |
181 | 181 | * @return string |
182 | 182 | */ |
@@ -165,8 +165,8 @@ |
||
165 | 165 | } |
166 | 166 | |
167 | 167 | /** |
168 | - * @param $name |
|
169 | - * @param $var |
|
168 | + * @param string $name |
|
169 | + * @param string $var |
|
170 | 170 | * @param $no |
171 | 171 | * |
172 | 172 | * @return string |
@@ -618,7 +618,7 @@ discard block |
||
618 | 618 | /** |
619 | 619 | * Enable error handler to mute expected messages |
620 | 620 | * |
621 | - * @return boolean |
|
621 | + * @return boolean|null |
|
622 | 622 | * @deprecated |
623 | 623 | */ |
624 | 624 | public static function muteExpectedErrors() |
@@ -998,7 +998,7 @@ discard block |
||
998 | 998 | * @param string $template_name |
999 | 999 | * @param null|mixed $cache_id |
1000 | 1000 | * @param null|mixed $compile_id |
1001 | - * @param null $caching |
|
1001 | + * @param integer $caching |
|
1002 | 1002 | * @param \Smarty_Internal_Template $template |
1003 | 1003 | * |
1004 | 1004 | * @return string |
@@ -270,6 +270,7 @@ discard block |
||
270 | 270 | * {@internal the header uses 8 Bytes, the first 4 Bytes are the seconds, the second 4 Bytes are the microseconds}} |
271 | 271 | * |
272 | 272 | * @param string &$content the content to be cached |
273 | + * @param string $content |
|
273 | 274 | */ |
274 | 275 | protected function addMetaTimestamp(&$content) |
275 | 276 | { |
@@ -283,7 +284,7 @@ discard block |
||
283 | 284 | * |
284 | 285 | * @param string &$content the cached content |
285 | 286 | * |
286 | - * @return float the microtime the content was cached |
|
287 | + * @return integer the microtime the content was cached |
|
287 | 288 | */ |
288 | 289 | protected function getMetaTimestamp(&$content) |
289 | 290 | { |
@@ -379,7 +380,7 @@ discard block |
||
379 | 380 | * @param string $compile_id compile id |
380 | 381 | * @param string $resource_uid source's filepath |
381 | 382 | * |
382 | - * @return array list of InvalidationKeys |
|
383 | + * @return string[] list of InvalidationKeys |
|
383 | 384 | * @uses $invalidationKeyPrefix to prepend to each InvalidationKey |
384 | 385 | */ |
385 | 386 | protected function listInvalidationKeys($cid, $resource_name = null, $cache_id = null, $compile_id = null, |
@@ -471,7 +472,7 @@ discard block |
||
471 | 472 | /** |
472 | 473 | * Read values for a set of keys from cache |
473 | 474 | * |
474 | - * @param array $keys list of keys to fetch |
|
475 | + * @param string[] $keys list of keys to fetch |
|
475 | 476 | * |
476 | 477 | * @return array list of values with the given keys used as indexes |
477 | 478 | */ |
@@ -490,7 +491,7 @@ discard block |
||
490 | 491 | /** |
491 | 492 | * Remove values from cache |
492 | 493 | * |
493 | - * @param array $keys list of keys to delete |
|
494 | + * @param string[] $keys list of keys to delete |
|
494 | 495 | * |
495 | 496 | * @return boolean true on success, false on failure |
496 | 497 | */ |