@@ -135,7 +135,7 @@ |
||
| 135 | 135 | * |
| 136 | 136 | * @param integer $iWaitTime |
| 137 | 137 | * |
| 138 | - * @return integer |
|
| 138 | + * @return string |
|
| 139 | 139 | */ |
| 140 | 140 | private static function _getTimeText($iWaitTime) |
| 141 | 141 | { |
@@ -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 |