@@ -79,7 +79,7 @@ |
||
79 | 79 | * @param mixed $_content template source |
80 | 80 | * @param bool $isTemplateSource |
81 | 81 | * |
82 | - * @return bool true if compiling succeeded, false if it failed |
|
82 | + * @return string true if compiling succeeded, false if it failed |
|
83 | 83 | * @throws \SmartyCompilerException |
84 | 84 | */ |
85 | 85 | protected function doCompile($_content, $isTemplateSource = false) |
@@ -140,10 +140,10 @@ |
||
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 |
|
143 | + * @param string $template the resource handle of the template file or template |
|
144 | 144 | * object |
145 | - * @param mixed $cache_id cache id to be used with this template |
|
146 | - * @param mixed $compile_id compile id to be used with this template |
|
145 | + * @param string|null $cache_id cache id to be used with this template |
|
146 | + * @param string|null $compile_id compile id to be used with this template |
|
147 | 147 | * @param object $parent next higher level of Smarty variables |
148 | 148 | * |
149 | 149 | * @return bool cache status |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | * @param bool $nocache true is shall be compiled in nocache mode |
388 | 388 | * @param null|Smarty_Internal_TemplateCompilerBase $parent_compiler |
389 | 389 | * |
390 | - * @return bool true if compiling succeeded, false if it failed |
|
390 | + * @return string true if compiling succeeded, false if it failed |
|
391 | 391 | * @throws \Exception |
392 | 392 | */ |
393 | 393 | public function compileTemplate( |
@@ -750,7 +750,7 @@ discard block |
||
750 | 750 | * @param string $tag tag name |
751 | 751 | * @param array $args list of tag attributes |
752 | 752 | * @param mixed $param1 optional parameter |
753 | - * @param mixed $param2 optional parameter |
|
753 | + * @param string $param2 optional parameter |
|
754 | 754 | * @param mixed $param3 optional parameter |
755 | 755 | * |
756 | 756 | * @return bool|string compiled code or false |
@@ -772,7 +772,7 @@ discard block |
||
772 | 772 | * |
773 | 773 | * @param string $tag tag name |
774 | 774 | * |
775 | - * @return bool|\Smarty_Internal_CompileBase tag compiler object or false if not found |
|
775 | + * @return integer tag compiler object or false if not found |
|
776 | 776 | */ |
777 | 777 | public function getTagCompiler($tag) |
778 | 778 | { |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | /** |
797 | 797 | * Check for plugins and return function name |
798 | 798 | * |
799 | - * @param $plugin_name |
|
799 | + * @param null|string $plugin_name |
|
800 | 800 | * @param string $plugin_type type of plugin |
801 | 801 | * |
802 | 802 | * @return string call name of function |
@@ -985,7 +985,7 @@ discard block |
||
985 | 985 | * |
986 | 986 | * @param string $input |
987 | 987 | * |
988 | - * @return bool|string |
|
988 | + * @return string|false |
|
989 | 989 | */ |
990 | 990 | public function getId($input) |
991 | 991 | { |
@@ -1000,7 +1000,7 @@ discard block |
||
1000 | 1000 | * |
1001 | 1001 | * @param string $input |
1002 | 1002 | * |
1003 | - * @return bool|string |
|
1003 | + * @return string|false |
|
1004 | 1004 | */ |
1005 | 1005 | public function getVariableName($input) |
1006 | 1006 | { |
@@ -1186,7 +1186,7 @@ discard block |
||
1186 | 1186 | } |
1187 | 1187 | |
1188 | 1188 | /** |
1189 | - * @param $lexerPreg |
|
1189 | + * @param string $lexerPreg |
|
1190 | 1190 | * |
1191 | 1191 | * @return mixed |
1192 | 1192 | */ |
@@ -1444,7 +1444,7 @@ discard block |
||
1444 | 1444 | /** |
1445 | 1445 | * method to compile a Smarty template |
1446 | 1446 | * |
1447 | - * @param mixed $_content template source |
|
1447 | + * @param string $_content template source |
|
1448 | 1448 | * @param bool $isTemplateSource |
1449 | 1449 | * |
1450 | 1450 | * @return bool true if compiling succeeded, false if it failed |
@@ -120,7 +120,7 @@ |
||
120 | 120 | * @param string $resource_name template_resource or config_resource to parse |
121 | 121 | * @param string $default_resource the default resource_type defined in $smarty |
122 | 122 | * |
123 | - * @return array with parsed resource name and type |
|
123 | + * @return string[] with parsed resource name and type |
|
124 | 124 | */ |
125 | 125 | public static function parseResourceName($resource_name, $default_resource) |
126 | 126 | { |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | * Check if PHP function is trusted. |
265 | 265 | * |
266 | 266 | * @param string $function_name |
267 | - * @param object $compiler compiler object |
|
267 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
268 | 268 | * |
269 | 269 | * @return boolean true if function is trusted |
270 | 270 | */ |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | * |
304 | 304 | * @param string $class_name |
305 | 305 | * @param string $params |
306 | - * @param object $compiler compiler object |
|
306 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
307 | 307 | * |
308 | 308 | * @return boolean true if class method is trusted |
309 | 309 | */ |
@@ -340,7 +340,7 @@ discard block |
||
340 | 340 | * Check if PHP modifier is trusted. |
341 | 341 | * |
342 | 342 | * @param string $modifier_name |
343 | - * @param object $compiler compiler object |
|
343 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
344 | 344 | * |
345 | 345 | * @return boolean true if modifier is trusted |
346 | 346 | */ |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | * Check if tag is trusted. |
360 | 360 | * |
361 | 361 | * @param string $tag_name |
362 | - * @param object $compiler compiler object |
|
362 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
363 | 363 | * |
364 | 364 | * @return boolean true if tag is trusted |
365 | 365 | */ |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * Check if special $smarty variable is trusted. |
398 | 398 | * |
399 | 399 | * @param string $var_name |
400 | - * @param object $compiler compiler object |
|
400 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
401 | 401 | * |
402 | 402 | * @return boolean true if tag is trusted |
403 | 403 | */ |
@@ -419,7 +419,7 @@ discard block |
||
419 | 419 | * Check if modifier plugin is trusted. |
420 | 420 | * |
421 | 421 | * @param string $modifier_name |
422 | - * @param object $compiler compiler object |
|
422 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
423 | 423 | * |
424 | 424 | * @return boolean true if tag is trusted |
425 | 425 | */ |
@@ -458,7 +458,7 @@ discard block |
||
458 | 458 | * Check if constants are enabled or trusted |
459 | 459 | * |
460 | 460 | * @param string $const constant name |
461 | - * @param object $compiler compiler object |
|
461 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
462 | 462 | * |
463 | 463 | * @return bool |
464 | 464 | */ |
@@ -495,6 +495,7 @@ discard block |
||
495 | 495 | * |
496 | 496 | * @param int iProfileId |
497 | 497 | * @param int $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away |
498 | + * @param integer $iProfileId |
|
498 | 499 | * |
499 | 500 | * @return void |
500 | 501 | */ |
@@ -1125,7 +1126,7 @@ discard block |
||
1125 | 1126 | * @param int|null $iOffset |
1126 | 1127 | * @param int|null $iLimit |
1127 | 1128 | * |
1128 | - * @return array|stdClass|int Object with the users list returned or integer for the total number users returned. |
|
1129 | + * @return integer Object with the users list returned or integer for the total number users returned. |
|
1129 | 1130 | */ |
1130 | 1131 | public function getGeoProfiles($sCountryCode, $sCity, $bCount, $sOrder, $iOffset = null, $iLimit = null) |
1131 | 1132 | { |
@@ -1442,7 +1443,7 @@ discard block |
||
1442 | 1443 | * |
1443 | 1444 | * @param int|null $iGroupId Group ID. Select only the specific membership from a group ID. |
1444 | 1445 | * |
1445 | - * @return stdClass|array The membership(s) data. |
|
1446 | + * @return string The membership(s) data. |
|
1446 | 1447 | */ |
1447 | 1448 | public function getMemberships($iGroupId = null) |
1448 | 1449 | { |
@@ -1607,6 +1608,7 @@ discard block |
||
1607 | 1608 | * Add countries for members |
1608 | 1609 | * |
1609 | 1610 | * @param string $sCountryCode e.g. en, fr, be, ru, nl, ... |
1611 | + * @param string $sTable |
|
1610 | 1612 | * |
1611 | 1613 | * @return bool|int |
1612 | 1614 | * |
@@ -8,11 +8,9 @@ |
||
8 | 8 | |
9 | 9 | namespace PH7; |
10 | 10 | |
11 | -use PH7\Framework\Core\Kernel; |
|
12 | 11 | use PH7\Framework\Mvc\Router\Uri; |
13 | 12 | use PH7\Framework\Security\Version; |
14 | 13 | use PH7\Framework\Url\Header; |
15 | -use PH7\Framework\Url\Url; |
|
16 | 14 | |
17 | 15 | class InfoController extends Controller |
18 | 16 | { |
@@ -62,6 +62,9 @@ discard block |
||
62 | 62 | $this->sRoutePath = PH7_PATH_APP_CONFIG . 'routes/' . $this->sDefLangRoute . Uri::ROUTE_FILE_EXT; |
63 | 63 | } |
64 | 64 | |
65 | + /** |
|
66 | + * @param string $sModsDirModFolder |
|
67 | + */ |
|
65 | 68 | public function setPath($sModsDirModFolder) |
66 | 69 | { |
67 | 70 | $this->sModsDirModFolder = $sModsDirModFolder; |
@@ -283,7 +286,7 @@ discard block |
||
283 | 286 | * |
284 | 287 | * @param string $sSwitch The check constant. |
285 | 288 | * |
286 | - * @return string Returns the constant if it is correct, otherwise an error message with exit() function. |
|
289 | + * @return integer|null Returns the constant if it is correct, otherwise an error message with exit() function. |
|
287 | 290 | */ |
288 | 291 | private function checkParam($sSwitch) |
289 | 292 | { |
@@ -94,7 +94,7 @@ |
||
94 | 94 | /** |
95 | 95 | * @param HttpRequest $oHttpRequest |
96 | 96 | * |
97 | - * @return int |
|
97 | + * @return string |
|
98 | 98 | */ |
99 | 99 | private static function getProfileId(HttpRequest $oHttpRequest) |
100 | 100 | { |