@@ -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 |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | /** |
300 | 300 | * method to compile a Smarty template |
301 | 301 | * |
302 | - * @param mixed $_content template source |
|
302 | + * @param string $_content template source |
|
303 | 303 | * @param bool $isTemplateSource |
304 | 304 | * |
305 | 305 | * @return bool true if compiling succeeded, false if it failed |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | * @param bool $nocache true is shall be compiled in nocache mode |
325 | 325 | * @param null|Smarty_Internal_TemplateCompilerBase $parent_compiler |
326 | 326 | * |
327 | - * @return bool true if compiling succeeded, false if it failed |
|
327 | + * @return string true if compiling succeeded, false if it failed |
|
328 | 328 | * @throws \Exception |
329 | 329 | */ |
330 | 330 | public function compileTemplate(Smarty_Internal_Template $template, $nocache = null, |
@@ -897,7 +897,7 @@ discard block |
||
897 | 897 | * @param string $tag tag name |
898 | 898 | * @param array $args list of tag attributes |
899 | 899 | * @param mixed $param1 optional parameter |
900 | - * @param mixed $param2 optional parameter |
|
900 | + * @param string $param2 optional parameter |
|
901 | 901 | * @param mixed $param3 optional parameter |
902 | 902 | * |
903 | 903 | * @return string|bool compiled code or false |
@@ -917,7 +917,7 @@ discard block |
||
917 | 917 | * |
918 | 918 | * @param string $tag tag name |
919 | 919 | * |
920 | - * @return Smarty_Internal_CompileBase|bool tag compiler object or false if not found |
|
920 | + * @return integer tag compiler object or false if not found |
|
921 | 921 | */ |
922 | 922 | public function getTagCompiler($tag) |
923 | 923 | { |
@@ -1122,7 +1122,7 @@ discard block |
||
1122 | 1122 | * |
1123 | 1123 | * @param string $input |
1124 | 1124 | * |
1125 | - * @return bool|string |
|
1125 | + * @return string|false |
|
1126 | 1126 | */ |
1127 | 1127 | public function getId($input) |
1128 | 1128 | { |
@@ -1137,7 +1137,7 @@ discard block |
||
1137 | 1137 | * |
1138 | 1138 | * @param string $input |
1139 | 1139 | * |
1140 | - * @return bool|string |
|
1140 | + * @return string|false |
|
1141 | 1141 | */ |
1142 | 1142 | public function getVariableName($input) |
1143 | 1143 | { |
@@ -183,7 +183,7 @@ |
||
183 | 183 | * @param string $resource_name template_resource or config_resource to parse |
184 | 184 | * @param string $default_resource the default resource_type defined in $smarty |
185 | 185 | * |
186 | - * @return array with parsed resource name and type |
|
186 | + * @return string[] with parsed resource name and type |
|
187 | 187 | */ |
188 | 188 | public static function parseResourceName($resource_name, $default_resource) |
189 | 189 | { |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | * Check if PHP function is trusted. |
267 | 267 | * |
268 | 268 | * @param string $function_name |
269 | - * @param object $compiler compiler object |
|
269 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
270 | 270 | * |
271 | 271 | * @return boolean true if function is trusted |
272 | 272 | * @throws SmartyCompilerException if php function is not trusted |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | * |
312 | 312 | * @param string $class_name |
313 | 313 | * @param string $params |
314 | - * @param object $compiler compiler object |
|
314 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
315 | 315 | * |
316 | 316 | * @return boolean true if class method is trusted |
317 | 317 | * @throws SmartyCompilerException if static class method is not trusted |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | * Check if PHP modifier is trusted. |
350 | 350 | * |
351 | 351 | * @param string $modifier_name |
352 | - * @param object $compiler compiler object |
|
352 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
353 | 353 | * |
354 | 354 | * @return boolean true if modifier is trusted |
355 | 355 | * @throws SmartyCompilerException if modifier is not trusted |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | * Check if tag is trusted. |
372 | 372 | * |
373 | 373 | * @param string $tag_name |
374 | - * @param object $compiler compiler object |
|
374 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
375 | 375 | * |
376 | 376 | * @return boolean true if tag is trusted |
377 | 377 | * @throws SmartyCompilerException if modifier is not trusted |
@@ -406,7 +406,7 @@ discard block |
||
406 | 406 | * Check if special $smarty variable is trusted. |
407 | 407 | * |
408 | 408 | * @param string $var_name |
409 | - * @param object $compiler compiler object |
|
409 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
410 | 410 | * |
411 | 411 | * @return boolean true if tag is trusted |
412 | 412 | * @throws SmartyCompilerException if modifier is not trusted |
@@ -427,7 +427,7 @@ discard block |
||
427 | 427 | * Check if modifier plugin is trusted. |
428 | 428 | * |
429 | 429 | * @param string $modifier_name |
430 | - * @param object $compiler compiler object |
|
430 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
431 | 431 | * |
432 | 432 | * @return boolean true if tag is trusted |
433 | 433 | * @throws SmartyCompilerException if modifier is not trusted |
@@ -462,7 +462,7 @@ discard block |
||
462 | 462 | * Check if constants are enabled or trusted |
463 | 463 | * |
464 | 464 | * @param string $const constant name |
465 | - * @param object $compiler compiler object |
|
465 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
466 | 466 | * |
467 | 467 | * @return bool |
468 | 468 | */ |
@@ -126,7 +126,6 @@ |
||
126 | 126 | /** |
127 | 127 | * create Source Object container |
128 | 128 | * |
129 | - * @param Smarty_Resource $handler Resource Handler this source object communicates with |
|
130 | 129 | * @param Smarty $smarty Smarty instance this source object belongs to |
131 | 130 | * @param string $resource full template_resource |
132 | 131 | * @param string $type type of resource |
@@ -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 | { |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * @param integer $iHeight |
62 | 62 | * @param boolean $bOnlyActive |
63 | 63 | * |
64 | - * @return boolean|void |
|
64 | + * @return false|null |
|
65 | 65 | */ |
66 | 66 | public function ad($iWidth, $iHeight, $bOnlyActive = true) |
67 | 67 | { |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * @param integer $iStatus The "code" for the HTTP status. |
87 | 87 | * |
88 | - * @return string|boolean $iStatus Returns the "HTTP status code" if found otherwise returns "false" |
|
88 | + * @return integer $iStatus Returns the "HTTP status code" if found otherwise returns "false" |
|
89 | 89 | */ |
90 | 90 | public static function getStatusCodes($iStatus) |
91 | 91 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * Set one or multiple headers. |
123 | 123 | * |
124 | - * @param string|array $mHeaders Headers to send. |
|
124 | + * @param string $mHeaders Headers to send. |
|
125 | 125 | * |
126 | 126 | * @throws Exception |
127 | 127 | */ |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | * @param string $sUsr |
181 | 181 | * @param string $sPwd |
182 | 182 | * |
183 | - * @return boolean TRUE if the authentication is correct, otherwise FALSE. |
|
183 | + * @return null|boolean TRUE if the authentication is correct, otherwise FALSE. |
|
184 | 184 | */ |
185 | 185 | public static function requireAuth($sUsr, $sPwd) |
186 | 186 | { |