@@ -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 | { |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | /** |
| 121 | 121 | * Check is the POST request method exists. |
| 122 | 122 | * |
| 123 | - * @param array|string $mKey The key of the request or an array with the list of key of the variables request. |
|
| 123 | + * @param string $mKey The key of the request or an array with the list of key of the variables request. |
|
| 124 | 124 | * @param string $sParam Optional parameter, check the type of the request variable | Value type is: str, int, float, bool |
| 125 | 125 | * |
| 126 | 126 | * @return boolean |
@@ -605,7 +605,7 @@ discard block |
||
| 605 | 605 | * |
| 606 | 606 | * @see __get() |
| 607 | 607 | * |
| 608 | - * @param $sVarName string Name of a variable that is to be retrieved. |
|
| 608 | + * @param string $sVarName string Name of a variable that is to be retrieved. |
|
| 609 | 609 | * |
| 610 | 610 | * @return mixed Value of that variable. |
| 611 | 611 | */ |
@@ -827,7 +827,7 @@ discard block |
||
| 827 | 827 | /** |
| 828 | 828 | * Get the reserved variables. |
| 829 | 829 | * |
| 830 | - * @return array |
|
| 830 | + * @return string[] |
|
| 831 | 831 | */ |
| 832 | 832 | public function getReservedWords() |
| 833 | 833 | { |
@@ -886,7 +886,7 @@ discard block |
||
| 886 | 886 | /** |
| 887 | 887 | * Checks if the template file in the $this->sTemplateDirFile attribute is the main page (layout.tpl). |
| 888 | 888 | * |
| 889 | - * @return boolean |
|
| 889 | + * @return integer |
|
| 890 | 890 | */ |
| 891 | 891 | private function isMainPage() |
| 892 | 892 | { |
@@ -896,7 +896,7 @@ discard block |
||
| 896 | 896 | /** |
| 897 | 897 | * Checks if the compile file in the $this->sCompileDirFile attribute is the main page (layout.cpl.php). |
| 898 | 898 | * |
| 899 | - * @return boolean |
|
| 899 | + * @return integer |
|
| 900 | 900 | */ |
| 901 | 901 | final private function isMainCompilePage() |
| 902 | 902 | { |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | /** |
| 907 | 907 | * Checks if the compile file in the $this->sCompileDirFile attribute is the XML (with XSL layout) Sitemap page (mainlayout.xsl.cpl.php). |
| 908 | 908 | * |
| 909 | - * @return boolean |
|
| 909 | + * @return integer |
|
| 910 | 910 | */ |
| 911 | 911 | final private function isXmlSitemapCompilePage() |
| 912 | 912 | { |
@@ -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 | { |
@@ -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) |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @param string $sVar |
| 34 | 34 | * |
| 35 | - * @return The new parsed text |
|
| 35 | + * @return string new parsed text |
|
| 36 | 36 | */ |
| 37 | 37 | public function parse($sVar) |
| 38 | 38 | { |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @return bool |
|
| 95 | + * @return integer |
|
| 96 | 96 | */ |
| 97 | 97 | private function notParsingVars() |
| 98 | 98 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * Build the log message. |
| 75 | 75 | * |
| 76 | 76 | * @access protected |
| 77 | - * @return object this |
|
| 77 | + * @return Logger this |
|
| 78 | 78 | */ |
| 79 | 79 | protected function setLogMsg() |
| 80 | 80 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * Blocking IP address. |
| 116 | 116 | * |
| 117 | 117 | * @access protected |
| 118 | - * @return object this |
|
| 118 | + * @return Logger this |
|
| 119 | 119 | */ |
| 120 | 120 | protected function blockIp() |
| 121 | 121 | { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | * Write a log file with the hacher information. |
| 130 | 130 | * |
| 131 | 131 | * @access protected |
| 132 | - * @return object this |
|
| 132 | + * @return Logger this |
|
| 133 | 133 | */ |
| 134 | 134 | protected function writeFile() |
| 135 | 135 | { |