@@ -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 |
@@ -24,6 +24,8 @@ |
||
24 | 24 | * |
25 | 25 | * @param string|null $mActive 1 = active otherwise null. Default value is '1' |
26 | 26 | * @param string $sTable The table. |
27 | + * @param integer $iOffset |
|
28 | + * @param integer $iLimit |
|
27 | 29 | * |
28 | 30 | * @return array The advertisements data. |
29 | 31 | */ |
@@ -462,6 +462,7 @@ discard block |
||
462 | 462 | * |
463 | 463 | * @param int iProfileId |
464 | 464 | * @param int $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away |
465 | + * @param integer $iProfileId |
|
465 | 466 | * |
466 | 467 | * @return void |
467 | 468 | */ |
@@ -1083,7 +1084,7 @@ discard block |
||
1083 | 1084 | * @param int|null $iOffset |
1084 | 1085 | * @param int|null $iLimit |
1085 | 1086 | * |
1086 | - * @return array|stdClass|int Object with the users list returned or integer for the total number users returned. |
|
1087 | + * @return integer Object with the users list returned or integer for the total number users returned. |
|
1087 | 1088 | */ |
1088 | 1089 | public function getGeoProfiles($sCountryCode, $sCity, $bCount, $sOrder, $iOffset = null, $iLimit = null) |
1089 | 1090 | { |
@@ -1400,7 +1401,7 @@ discard block |
||
1400 | 1401 | * |
1401 | 1402 | * @param int|null $iGroupId Group ID. Select only the specific membership from a group ID. |
1402 | 1403 | * |
1403 | - * @return stdClass|array The membership(s) data. |
|
1404 | + * @return string The membership(s) data. |
|
1404 | 1405 | */ |
1405 | 1406 | public function getMemberships($iGroupId = null) |
1406 | 1407 | { |
@@ -18,8 +18,8 @@ |
||
18 | 18 | /** |
19 | 19 | * Merge two Arrays into one recursively. |
20 | 20 | * |
21 | - * @param array $aFrom The array to be merged to. |
|
22 | - * @param array $aTo The array to be merged from. |
|
21 | + * @param string[] $aFrom The array to be merged to. |
|
22 | + * @param string[] $aTo The array to be merged from. |
|
23 | 23 | * |
24 | 24 | * @return array Returns the merged array (the original arrays are not changed). |
25 | 25 | */ |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | /** |
21 | 21 | * Converting an Array to an Object. |
22 | 22 | * |
23 | - * @param mixed $aArr The array to convert. |
|
23 | + * @param mixed $mArr The array to convert. |
|
24 | 24 | * |
25 | 25 | * @return stdClass |
26 | 26 | */ |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | /** |
45 | 45 | * Converting an Object to an Array. |
46 | 46 | * |
47 | - * @param stdClass|array $oObj The object to convert. |
|
47 | + * @param stdClass $oObj The object to convert. |
|
48 | 48 | * |
49 | 49 | * @return array |
50 | 50 | */ |