@@ -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 | { |
@@ -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 |
@@ -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 |
@@ -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 | */ |
@@ -335,7 +335,7 @@ |
||
335 | 335 | /** |
336 | 336 | * Get the list of modules that are possible to enable as the default system module. |
337 | 337 | * |
338 | - * @return array |
|
338 | + * @return string[] |
|
339 | 339 | */ |
340 | 340 | private static function getActivatableDefMods() |
341 | 341 | { |
@@ -186,7 +186,7 @@ |
||
186 | 186 | * |
187 | 187 | * @param string $sData |
188 | 188 | * |
189 | - * @return string|null|self If the cache is disabled, returns null, otherwise returns this class. |
|
189 | + * @return null|Cache If the cache is disabled, returns null, otherwise returns this class. |
|
190 | 190 | */ |
191 | 191 | public function put($sData) |
192 | 192 | { |
@@ -388,6 +388,7 @@ |
||
388 | 388 | /** |
389 | 389 | * Is $c a letter, digit, underscore, dollar sign, or non-ASCII character. |
390 | 390 | * |
391 | + * @param string $c |
|
391 | 392 | * @return bool |
392 | 393 | */ |
393 | 394 | protected function isAlphaNum($c) |
@@ -316,7 +316,7 @@ |
||
316 | 316 | /** |
317 | 317 | * Check if Apache's mod_rewrite is installed. |
318 | 318 | * |
319 | - * @return bool |
|
319 | + * @return null|boolean |
|
320 | 320 | */ |
321 | 321 | function is_url_rewrite() |
322 | 322 | { |