@@ -178,14 +178,14 @@ |
||
| 178 | 178 | } |
| 179 | 179 | } |
| 180 | 180 | /** |
| 181 | - * @param $name |
|
| 181 | + * @param string $name |
|
| 182 | 182 | * @param $value |
| 183 | 183 | * @param $output |
| 184 | 184 | * @param $selected |
| 185 | - * @param $extra |
|
| 186 | - * @param $separator |
|
| 187 | - * @param $labels |
|
| 188 | - * @param $label_ids |
|
| 185 | + * @param string $extra |
|
| 186 | + * @param string $separator |
|
| 187 | + * @param boolean $labels |
|
| 188 | + * @param boolean $label_ids |
|
| 189 | 189 | * @param bool $escape |
| 190 | 190 | * |
| 191 | 191 | * @return string |
@@ -165,15 +165,15 @@ |
||
| 165 | 165 | } |
| 166 | 166 | } |
| 167 | 167 | /** |
| 168 | - * @param $name |
|
| 168 | + * @param string $name |
|
| 169 | 169 | * @param $value |
| 170 | 170 | * @param $output |
| 171 | 171 | * @param $selected |
| 172 | - * @param $extra |
|
| 173 | - * @param $separator |
|
| 174 | - * @param $labels |
|
| 175 | - * @param $label_ids |
|
| 176 | - * @param $escape |
|
| 172 | + * @param string $extra |
|
| 173 | + * @param string $separator |
|
| 174 | + * @param boolean $labels |
|
| 175 | + * @param boolean $label_ids |
|
| 176 | + * @param boolean $escape |
|
| 177 | 177 | * |
| 178 | 178 | * @return string |
| 179 | 179 | */ |
@@ -164,8 +164,8 @@ |
||
| 164 | 164 | return $output; |
| 165 | 165 | } |
| 166 | 166 | /** |
| 167 | - * @param $name |
|
| 168 | - * @param $var |
|
| 167 | + * @param string $name |
|
| 168 | + * @param string $var |
|
| 169 | 169 | * @param $no |
| 170 | 170 | * |
| 171 | 171 | * @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 |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 98 | 98 | * @param array $parameter array with compilation parameter |
| 99 | 99 | * |
| 100 | - * @return bool true |
|
| 100 | + * @return string true |
|
| 101 | 101 | */ |
| 102 | 102 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
| 103 | 103 | { |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | * Compiles code for the {/function} tag |
| 93 | 93 | * |
| 94 | 94 | * @param array $args array with attributes from parser |
| 95 | - * @param object|\Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
| 95 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
| 96 | 96 | * |
| 97 | 97 | * @return bool true |
| 98 | 98 | */ |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * Start logging template |
| 49 | 49 | * |
| 50 | 50 | * @param \Smarty_Internal_Template $template template |
| 51 | - * @param null $mode true: display false: fetch null: subtemplate |
|
| 51 | + * @param null|boolean $mode true: display false: fetch null: subtemplate |
|
| 52 | 52 | */ |
| 53 | 53 | public function start_template(Smarty_Internal_Template $template, $mode = null) |
| 54 | 54 | { |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | /** |
| 192 | 192 | * Opens a window for the Smarty Debugging Console and display the data |
| 193 | 193 | * |
| 194 | - * @param Smarty_Internal_Template|Smarty $obj object to debug |
|
| 194 | + * @param Smarty_Internal_Template $obj object to debug |
|
| 195 | 195 | * @param bool $full |
| 196 | 196 | * |
| 197 | 197 | * @throws \Exception |
@@ -140,9 +140,9 @@ |
||
| 140 | 140 | * @api Smarty::isCached() |
| 141 | 141 | * @link http://www.smarty.net/docs/en/api.is.cached.tpl |
| 142 | 142 | * |
| 143 | - * @param null|string|\Smarty_Internal_Template $template the resource handle of the template file or template object |
|
| 144 | - * @param mixed $cache_id cache id to be used with this template |
|
| 145 | - * @param mixed $compile_id compile id to be used with this template |
|
| 143 | + * @param string $template the resource handle of the template file or template object |
|
| 144 | + * @param string|null $cache_id cache id to be used with this template |
|
| 145 | + * @param string|null $compile_id compile id to be used with this template |
|
| 146 | 146 | * @param object $parent next higher level of Smarty variables |
| 147 | 147 | * |
| 148 | 148 | * @return bool cache status |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | * @param bool $nocache true is shall be compiled in nocache mode |
| 338 | 338 | * @param null|Smarty_Internal_TemplateCompilerBase $parent_compiler |
| 339 | 339 | * |
| 340 | - * @return bool true if compiling succeeded, false if it failed |
|
| 340 | + * @return string true if compiling succeeded, false if it failed |
|
| 341 | 341 | * @throws \Exception |
| 342 | 342 | */ |
| 343 | 343 | public function compileTemplate(Smarty_Internal_Template $template, |
@@ -676,7 +676,7 @@ discard block |
||
| 676 | 676 | * @param string $tag tag name |
| 677 | 677 | * @param array $args list of tag attributes |
| 678 | 678 | * @param mixed $param1 optional parameter |
| 679 | - * @param mixed $param2 optional parameter |
|
| 679 | + * @param string $param2 optional parameter |
|
| 680 | 680 | * @param mixed $param3 optional parameter |
| 681 | 681 | * |
| 682 | 682 | * @return bool|string compiled code or false |
@@ -698,7 +698,7 @@ discard block |
||
| 698 | 698 | * |
| 699 | 699 | * @param string $tag tag name |
| 700 | 700 | * |
| 701 | - * @return bool|\Smarty_Internal_CompileBase tag compiler object or false if not found |
|
| 701 | + * @return integer tag compiler object or false if not found |
|
| 702 | 702 | * @throws \SmartyCompilerException |
| 703 | 703 | */ |
| 704 | 704 | public function getTagCompiler($tag) |
@@ -723,7 +723,7 @@ discard block |
||
| 723 | 723 | /** |
| 724 | 724 | * Check for plugins and return function name |
| 725 | 725 | * |
| 726 | - * @param $plugin_name |
|
| 726 | + * @param null|string $plugin_name |
|
| 727 | 727 | * @param string $plugin_type type of plugin |
| 728 | 728 | * |
| 729 | 729 | * @return string call name of function |
@@ -905,7 +905,7 @@ discard block |
||
| 905 | 905 | * |
| 906 | 906 | * @param string $input |
| 907 | 907 | * |
| 908 | - * @return bool|string |
|
| 908 | + * @return string|false |
|
| 909 | 909 | */ |
| 910 | 910 | public function getId($input) |
| 911 | 911 | { |
@@ -920,7 +920,7 @@ discard block |
||
| 920 | 920 | * |
| 921 | 921 | * @param string $input |
| 922 | 922 | * |
| 923 | - * @return bool|string |
|
| 923 | + * @return string|false |
|
| 924 | 924 | */ |
| 925 | 925 | public function getVariableName($input) |
| 926 | 926 | { |
@@ -1097,7 +1097,7 @@ discard block |
||
| 1097 | 1097 | } |
| 1098 | 1098 | |
| 1099 | 1099 | /** |
| 1100 | - * @param $lexerPreg |
|
| 1100 | + * @param string $lexerPreg |
|
| 1101 | 1101 | * |
| 1102 | 1102 | * @return mixed |
| 1103 | 1103 | */ |
@@ -1349,7 +1349,7 @@ discard block |
||
| 1349 | 1349 | /** |
| 1350 | 1350 | * method to compile a Smarty template |
| 1351 | 1351 | * |
| 1352 | - * @param mixed $_content template source |
|
| 1352 | + * @param string $_content template source |
|
| 1353 | 1353 | * @param bool $isTemplateSource |
| 1354 | 1354 | * |
| 1355 | 1355 | * @return bool true if compiling succeeded, false if it failed |