@@ -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 | { |
@@ -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 | { |
@@ -113,6 +113,9 @@ |
||
| 113 | 113 | return $this->{'yylex' . $this->_yy_state}(); |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | + /** |
|
| 117 | + * @param integer $state |
|
| 118 | + */ |
|
| 116 | 119 | public function yypushstate($state) |
| 117 | 120 | { |
| 118 | 121 | if ($this->yyTraceFILE) { |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | * @link http://www.smarty.net/docs/en/api.append.tpl |
| 120 | 120 | * |
| 121 | 121 | * @param array|string $tpl_var the template variable name(s) |
| 122 | - * @param mixed $value the value to append |
|
| 122 | + * @param string $value the value to append |
|
| 123 | 123 | * @param bool $merge flag if array elements shall be merged |
| 124 | 124 | * @param bool $nocache if true any output of this variable will |
| 125 | 125 | * be not cached |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | * @param \Smarty_Internal_Template $_template |
| 136 | 136 | * @param $name |
| 137 | 137 | * |
| 138 | - * @return null |
|
| 138 | + * @return string|null |
|
| 139 | 139 | */ |
| 140 | 140 | public function getBuffer(Smarty_Internal_Template $_template, $name) |
| 141 | 141 | { |
@@ -259,8 +259,8 @@ |
||
| 259 | 259 | * Runtime function to render sub-template |
| 260 | 260 | * |
| 261 | 261 | * @param string $template template name |
| 262 | - * @param mixed $cache_id cache id |
|
| 263 | - * @param mixed $compile_id compile id |
|
| 262 | + * @param string $cache_id cache id |
|
| 263 | + * @param string $compile_id compile id |
|
| 264 | 264 | * @param integer $caching cache mode |
| 265 | 265 | * @param integer $cache_lifetime life time of cache data |
| 266 | 266 | * @param array $data passed parameter template variables |