@@ -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 | { |
@@ -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 | { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | * @param string $sMod |
26 | 26 | * @param bool $bPrint Print or Return the HTML code. |
27 | 27 | * |
28 | - * @return void |
|
28 | + * @return string|null |
|
29 | 29 | */ |
30 | 30 | public static function link($sMod, $bPrint = true) |
31 | 31 | { |
@@ -87,7 +87,7 @@ |
||
87 | 87 | * @param int $iRecipientId |
88 | 88 | * @param string $sTable |
89 | 89 | * |
90 | - * @return array|bool|float|int|object|string |
|
90 | + * @return integer |
|
91 | 91 | */ |
92 | 92 | public function total($iRecipientId, $sTable) |
93 | 93 | { |
@@ -84,7 +84,7 @@ |
||
84 | 84 | * @param string $sApiParams Parameters to send to the API. |
85 | 85 | * @param string $sApiVersion Version of the API it will use. If fails from the API server, it will ignore it. |
86 | 86 | * |
87 | - * @return void |
|
87 | + * @return string|boolean |
|
88 | 88 | */ |
89 | 89 | private function getApiResults($sApiUrl, $sApiParams, $sApiVersion) |
90 | 90 | { |
@@ -162,7 +162,7 @@ |
||
162 | 162 | /** |
163 | 163 | * @param stdClass $oProfile |
164 | 164 | * |
165 | - * @return bool |
|
165 | + * @return string |
|
166 | 166 | */ |
167 | 167 | private function getBirthDate(stdClass $oProfile) |
168 | 168 | { |