@@ -20,7 +20,6 @@ |
||
| 20 | 20 | class XcaptchaTextForm extends Xoops\Form\ThemeForm |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param null $obj |
|
| 24 | 23 | */ |
| 25 | 24 | public function __construct($object = null) |
| 26 | 25 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | class XcaptchaTextForm extends Xoops\Form\ThemeForm |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param null $obj |
|
| 24 | 23 | */ |
| 25 | 24 | public function __construct($object = null) |
| 26 | 25 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | class XcaptchaTextForm extends Xoops\Form\ThemeForm |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param null $obj |
|
| 24 | 23 | */ |
| 25 | 24 | public function __construct($object = null) |
| 26 | 25 | { |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * |
| 40 | 40 | * @param string $text text string to filter |
| 41 | 41 | * |
| 42 | - * @return mixed |
|
| 42 | + * @return string |
|
| 43 | 43 | */ |
| 44 | 44 | public function applyFilter($text) |
| 45 | 45 | { |
@@ -26,6 +26,9 @@ |
||
| 26 | 26 | return false; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $sql |
|
| 31 | + */ |
|
| 29 | 32 | function query($sql) |
| 30 | 33 | { |
| 31 | 34 | //echo $sql . "<br />"; |
@@ -26,6 +26,9 @@ |
||
| 26 | 26 | return false; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $sql |
|
| 31 | + */ |
|
| 29 | 32 | function query($sql) |
| 30 | 33 | { |
| 31 | 34 | //echo $sql . "<br />"; |
@@ -1039,7 +1039,7 @@ |
||
| 1039 | 1039 | * |
| 1040 | 1040 | * @param string $dirname dirname of module |
| 1041 | 1041 | * |
| 1042 | - * @return bool|Xoops\Module\Helper\HelperAbstract |
|
| 1042 | + * @return string |
|
| 1043 | 1043 | */ |
| 1044 | 1044 | public static function getModuleHelper($dirname) |
| 1045 | 1045 | { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * information see Xoops\Core\FilterInput::clean(). |
| 80 | 80 | * @param int $mask Filter mask for the variable |
| 81 | 81 | * |
| 82 | - * @return mixed Requested variable |
|
| 82 | + * @return string|null Requested variable |
|
| 83 | 83 | */ |
| 84 | 84 | public static function getVar($name, $default = null, $hash = 'default', $type = 'none', $mask = 0) |
| 85 | 85 | { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * @param int $default Default value if the variable does not exist |
| 142 | 142 | * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) |
| 143 | 143 | * |
| 144 | - * @return int Requested variable |
|
| 144 | + * @return string|null Requested variable |
|
| 145 | 145 | */ |
| 146 | 146 | public static function getInt($name, $default = 0, $hash = 'default') |
| 147 | 147 | { |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * @param float $default Default value if the variable does not exist |
| 160 | 160 | * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) |
| 161 | 161 | * |
| 162 | - * @return float Requested variable |
|
| 162 | + * @return string|null Requested variable |
|
| 163 | 163 | */ |
| 164 | 164 | public static function getFloat($name, $default = 0.0, $hash = 'default') |
| 165 | 165 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | * @param bool $default Default value if the variable does not exist |
| 178 | 178 | * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) |
| 179 | 179 | * |
| 180 | - * @return bool Requested variable |
|
| 180 | + * @return string|null Requested variable |
|
| 181 | 181 | */ |
| 182 | 182 | public static function getBool($name, $default = false, $hash = 'default') |
| 183 | 183 | { |
@@ -247,7 +247,7 @@ discard block |
||
| 247 | 247 | * @param mixed $default Default value if the variable does not exist |
| 248 | 248 | * @param string $hash Where the var should come from (POST, GET, FILES, COOKIE, METHOD) |
| 249 | 249 | * |
| 250 | - * @return array |
|
| 250 | + * @return string|null |
|
| 251 | 251 | */ |
| 252 | 252 | public static function getArray($name, $default = array(), $hash = 'default') |
| 253 | 253 | { |