@@ -629,7 +629,7 @@ |
||
| 629 | 629 | * @param string $sModName Module Name. |
| 630 | 630 | * @param string $sStatus '1' = Enabled | '0' = Disabled (need to be string because in DB it is an "enum"). |
| 631 | 631 | * |
| 632 | - * @return mixed (integer | boolean) Returns the number of rows on success or FALSE on failure. |
|
| 632 | + * @return boolean (integer | boolean) Returns the number of rows on success or FALSE on failure. |
|
| 633 | 633 | */ |
| 634 | 634 | private function _updateMods(Db $oDb, $sModName, $sStatus) |
| 635 | 635 | { |
@@ -179,6 +179,13 @@ |
||
| 179 | 179 | } |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | +/** |
|
| 183 | + * @param string $name |
|
| 184 | + * @param string $extra |
|
| 185 | + * @param string $separator |
|
| 186 | + * @param boolean $labels |
|
| 187 | + * @param boolean $label_ids |
|
| 188 | + */ |
|
| 182 | 189 | function smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels, |
| 183 | 190 | $label_ids, $escape = true) |
| 184 | 191 | { |
@@ -166,6 +166,14 @@ |
||
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | +/** |
|
| 170 | + * @param string $name |
|
| 171 | + * @param string $extra |
|
| 172 | + * @param string $separator |
|
| 173 | + * @param boolean $labels |
|
| 174 | + * @param boolean $label_ids |
|
| 175 | + * @param boolean $escape |
|
| 176 | + */ |
|
| 169 | 177 | function smarty_function_html_radios_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, |
| 170 | 178 | $escape) |
| 171 | 179 | { |
@@ -1093,7 +1093,7 @@ discard block |
||
| 1093 | 1093 | * @param object $parent next higher level of Smarty variables |
| 1094 | 1094 | * @param boolean $do_clone flag is Smarty object shall be cloned |
| 1095 | 1095 | * |
| 1096 | - * @return object template object |
|
| 1096 | + * @return Smarty_Internal_Template template object |
|
| 1097 | 1097 | */ |
| 1098 | 1098 | public function createTemplate($template, $cache_id = null, $compile_id = null, $parent = null, $do_clone = true) |
| 1099 | 1099 | { |
@@ -1169,7 +1169,7 @@ discard block |
||
| 1169 | 1169 | * @param string $template_name |
| 1170 | 1170 | * @param null|mixed $cache_id |
| 1171 | 1171 | * @param null|mixed $compile_id |
| 1172 | - * @param null $caching |
|
| 1172 | + * @param integer $caching |
|
| 1173 | 1173 | * @param \Smarty_Internal_Template $template |
| 1174 | 1174 | * |
| 1175 | 1175 | * @return string |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | * |
| 166 | 166 | * @param Smarty_Internal_Template $_template template object |
| 167 | 167 | * |
| 168 | - * @return string|boolean content |
|
| 168 | + * @return string|false content |
|
| 169 | 169 | */ |
| 170 | 170 | public function readCachedContent(Smarty_Internal_Template $_template) |
| 171 | 171 | { |
@@ -269,6 +269,7 @@ discard block |
||
| 269 | 269 | * {@internal the header uses 8 Bytes, the first 4 Bytes are the seconds, the second 4 Bytes are the microseconds}} |
| 270 | 270 | * |
| 271 | 271 | * @param string &$content the content to be cached |
| 272 | + * @param string $content |
|
| 272 | 273 | */ |
| 273 | 274 | protected function addMetaTimestamp(&$content) |
| 274 | 275 | { |
@@ -282,7 +283,7 @@ discard block |
||
| 282 | 283 | * |
| 283 | 284 | * @param string &$content the cached content |
| 284 | 285 | * |
| 285 | - * @return float the microtime the content was cached |
|
| 286 | + * @return integer the microtime the content was cached |
|
| 286 | 287 | */ |
| 287 | 288 | protected function getMetaTimestamp(&$content) |
| 288 | 289 | { |
@@ -378,7 +379,7 @@ discard block |
||
| 378 | 379 | * @param string $compile_id compile id |
| 379 | 380 | * @param string $resource_uid source's filepath |
| 380 | 381 | * |
| 381 | - * @return array list of InvalidationKeys |
|
| 382 | + * @return string[] list of InvalidationKeys |
|
| 382 | 383 | * @uses $invalidationKeyPrefix to prepend to each InvalidationKey |
| 383 | 384 | */ |
| 384 | 385 | protected function listInvalidationKeys($cid, $resource_name = null, $cache_id = null, $compile_id = null, |
@@ -470,7 +471,7 @@ discard block |
||
| 470 | 471 | /** |
| 471 | 472 | * Read values for a set of keys from cache |
| 472 | 473 | * |
| 473 | - * @param array $keys list of keys to fetch |
|
| 474 | + * @param string[] $keys list of keys to fetch |
|
| 474 | 475 | * |
| 475 | 476 | * @return array list of values with the given keys used as indexes |
| 476 | 477 | */ |
@@ -489,7 +490,7 @@ discard block |
||
| 489 | 490 | /** |
| 490 | 491 | * Remove values from cache |
| 491 | 492 | * |
| 492 | - * @param array $keys list of keys to delete |
|
| 493 | + * @param string[] $keys list of keys to delete |
|
| 493 | 494 | * |
| 494 | 495 | * @return boolean true on success, false on failure |
| 495 | 496 | */ |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 38 | 38 | * @param array $parameter array with compilation parameter |
| 39 | 39 | * |
| 40 | - * @return bool true |
|
| 40 | + * @return string true |
|
| 41 | 41 | */ |
| 42 | 42 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
| 43 | 43 | { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 55 | 55 | * @param array $parameter array with compilation parameter |
| 56 | 56 | * |
| 57 | - * @return bool true |
|
| 57 | + * @return string true |
|
| 58 | 58 | */ |
| 59 | 59 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
| 60 | 60 | { |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 24 | 24 | * @param array $parameter array with compilation parameter |
| 25 | 25 | * |
| 26 | - * @return string compiled code |
|
| 26 | + * @return boolean compiled code |
|
| 27 | 27 | */ |
| 28 | 28 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
| 29 | 29 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * @param array $args array with attributes from parser |
| 52 | 52 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 53 | 53 | * |
| 54 | - * @return string compiled code |
|
| 54 | + * @return boolean compiled code |
|
| 55 | 55 | */ |
| 56 | 56 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler) |
| 57 | 57 | { |