@@ -67,7 +67,7 @@ |
||
| 67 | 67 | * |
| 68 | 68 | * @param string $file Full path to file |
| 69 | 69 | * |
| 70 | - * @return string|boolean |
|
| 70 | + * @return string|false |
|
| 71 | 71 | */ |
| 72 | 72 | public static function type($file) |
| 73 | 73 | { |
@@ -692,7 +692,7 @@ discard block |
||
| 692 | 692 | /** |
| 693 | 693 | * Enable error handler to mute expected messages |
| 694 | 694 | * |
| 695 | - * @return boolean |
|
| 695 | + * @return boolean|null |
|
| 696 | 696 | * @deprecated |
| 697 | 697 | */ |
| 698 | 698 | public static function muteExpectedErrors() |
@@ -1072,7 +1072,7 @@ discard block |
||
| 1072 | 1072 | * @param string $template_name |
| 1073 | 1073 | * @param null|mixed $cache_id |
| 1074 | 1074 | * @param null|mixed $compile_id |
| 1075 | - * @param null $caching |
|
| 1075 | + * @param integer $caching |
|
| 1076 | 1076 | * @param \Smarty_Internal_Template $template |
| 1077 | 1077 | * |
| 1078 | 1078 | * @return string |
@@ -183,7 +183,7 @@ |
||
| 183 | 183 | * |
| 184 | 184 | * @param Smarty_Internal_Template $_template template object |
| 185 | 185 | * |
| 186 | - * @return string|boolean content |
|
| 186 | + * @return string|false content |
|
| 187 | 187 | */ |
| 188 | 188 | public function readCachedContent(Smarty_Internal_Template $_template) |
| 189 | 189 | { |
@@ -292,6 +292,7 @@ discard block |
||
| 292 | 292 | * {@internal the header uses 8 Bytes, the first 4 Bytes are the seconds, the second 4 Bytes are the microseconds}} |
| 293 | 293 | * |
| 294 | 294 | * @param string &$content the content to be cached |
| 295 | + * @param string $content |
|
| 295 | 296 | */ |
| 296 | 297 | protected function addMetaTimestamp(&$content) |
| 297 | 298 | { |
@@ -305,7 +306,7 @@ discard block |
||
| 305 | 306 | * |
| 306 | 307 | * @param string &$content the cached content |
| 307 | 308 | * |
| 308 | - * @return float the microtime the content was cached |
|
| 309 | + * @return integer the microtime the content was cached |
|
| 309 | 310 | */ |
| 310 | 311 | protected function getMetaTimestamp(&$content) |
| 311 | 312 | { |
@@ -407,7 +408,7 @@ discard block |
||
| 407 | 408 | * @param string $compile_id compile id |
| 408 | 409 | * @param string $resource_uid source's filepath |
| 409 | 410 | * |
| 410 | - * @return array list of InvalidationKeys |
|
| 411 | + * @return string[] list of InvalidationKeys |
|
| 411 | 412 | * @uses $invalidationKeyPrefix to prepend to each InvalidationKey |
| 412 | 413 | */ |
| 413 | 414 | protected function listInvalidationKeys( |
@@ -501,7 +502,7 @@ discard block |
||
| 501 | 502 | /** |
| 502 | 503 | * Read values for a set of keys from cache |
| 503 | 504 | * |
| 504 | - * @param array $keys list of keys to fetch |
|
| 505 | + * @param string[] $keys list of keys to fetch |
|
| 505 | 506 | * |
| 506 | 507 | * @return array list of values with the given keys used as indexes |
| 507 | 508 | */ |
@@ -520,7 +521,7 @@ discard block |
||
| 520 | 521 | /** |
| 521 | 522 | * Remove values from cache |
| 522 | 523 | * |
| 523 | - * @param array $keys list of keys to delete |
|
| 524 | + * @param string[] $keys list of keys to delete |
|
| 524 | 525 | * |
| 525 | 526 | * @return boolean true on success, false on failure |
| 526 | 527 | */ |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 104 | 104 | * @param array $parameter array with compilation parameter |
| 105 | 105 | * |
| 106 | - * @return bool true |
|
| 106 | + * @return string true |
|
| 107 | 107 | */ |
| 108 | 108 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
| 109 | 109 | { |
@@ -91,7 +91,7 @@ |
||
| 91 | 91 | * Compiles code for the {/function} tag |
| 92 | 92 | * |
| 93 | 93 | * @param array $args array with attributes from parser |
| 94 | - * @param object|\Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
| 94 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
| 95 | 95 | * |
| 96 | 96 | * @return bool true |
| 97 | 97 | */ |
@@ -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 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * @param array $args array with attributes from parser |
| 51 | 51 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 52 | 52 | * |
| 53 | - * @return string compiled code |
|
| 53 | + * @return boolean compiled code |
|
| 54 | 54 | */ |
| 55 | 55 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler) |
| 56 | 56 | { |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | * @link http://www.smarty.net/docs/en/api.append.tpl |
| 125 | 125 | * |
| 126 | 126 | * @param array|string $tpl_var the template variable name(s) |
| 127 | - * @param mixed $value the value to append |
|
| 127 | + * @param string $value the value to append |
|
| 128 | 128 | * @param bool $merge flag if array elements shall be merged |
| 129 | 129 | * @param bool $nocache if true any output of this variable will |
| 130 | 130 | * be not cached |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data |
| 27 | 27 | * @param string $variable the stream of the variable |
| 28 | 28 | * |
| 29 | - * @return mixed |
|
| 29 | + * @return string|null |
|
| 30 | 30 | * @throws \SmartyException |
| 31 | 31 | */ |
| 32 | 32 | public function getStreamVariable(Smarty_Internal_Data $data, $variable) |