@@ -323,7 +323,7 @@ |
||
| 323 | 323 | /** |
| 324 | 324 | * setDebug enable debug mode, will skip filters prefixed with '?' |
| 325 | 325 | * |
| 326 | - * @return true |
|
| 326 | + * @return boolean |
|
| 327 | 327 | */ |
| 328 | 328 | public function setDebug() |
| 329 | 329 | { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | /** |
| 56 | 56 | * Garbage collection |
| 57 | 57 | * |
| 58 | - * @return boolean true on success |
|
| 58 | + * @return boolean|null true on success |
|
| 59 | 59 | */ |
| 60 | 60 | public static function gc() |
| 61 | 61 | { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | * |
| 70 | 70 | * @param string $key Identifier for the data |
| 71 | 71 | * @param mixed $value Data to be cached - anything except a resource |
| 72 | - * @param mixed $duration time to live in seconds |
|
| 72 | + * @param integer $duration time to live in seconds |
|
| 73 | 73 | * |
| 74 | 74 | * @return boolean True if the data was successfully cached, false on failure |
| 75 | 75 | */ |
@@ -362,7 +362,7 @@ |
||
| 362 | 362 | * Note : code modifications for XOOPS |
| 363 | 363 | * |
| 364 | 364 | * @param string $name Environment variable name. |
| 365 | - * @param mixed $default default value |
|
| 365 | + * @param string $default default value |
|
| 366 | 366 | * |
| 367 | 367 | * @return string|boolean Environment variable setting. |
| 368 | 368 | * @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#env |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | * |
| 97 | 97 | * @param string $name dtype name to load |
| 98 | 98 | * |
| 99 | - * @return null|DtypeAbstract |
|
| 99 | + * @return DtypeAbstract |
|
| 100 | 100 | */ |
| 101 | 101 | private static function loadDtype($name) |
| 102 | 102 | { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * @param string $key name of variable |
| 38 | 38 | * @param string $format Dtype::FORMAT_* constant indicating desired formatting |
| 39 | 39 | * |
| 40 | - * @return mixed |
|
| 40 | + * @return null|Money |
|
| 41 | 41 | */ |
| 42 | 42 | public function getVar(XoopsObject $obj, $key, $format) |
| 43 | 43 | { |
@@ -257,7 +257,7 @@ |
||
| 257 | 257 | /** |
| 258 | 258 | * Assign one or more configuration options |
| 259 | 259 | * |
| 260 | - * @param XoopsConfigOption|XoopsConfigOption[] $option configuration option(s) |
|
| 260 | + * @param XoopsConfigOption[] $option configuration option(s) |
|
| 261 | 261 | * |
| 262 | 262 | * @return void |
| 263 | 263 | */ |
@@ -289,7 +289,7 @@ |
||
| 289 | 289 | * |
| 290 | 290 | * @param string $format Dtype::FORMAT_xxxx constant |
| 291 | 291 | * |
| 292 | - * @return mixed |
|
| 292 | + * @return string |
|
| 293 | 293 | */ |
| 294 | 294 | public function mid($format = '') |
| 295 | 295 | { |
@@ -453,7 +453,7 @@ |
||
| 453 | 453 | /** |
| 454 | 454 | * create a clone(copy) of the current object |
| 455 | 455 | * |
| 456 | - * @return object clone |
|
| 456 | + * @return XoopsObject clone |
|
| 457 | 457 | */ |
| 458 | 458 | public function xoopsClone() |
| 459 | 459 | { |
@@ -174,7 +174,7 @@ |
||
| 174 | 174 | * 'long' (eg 'h:mm:ss a z' - '11:42:13 AM GMT+2:00'), |
| 175 | 175 | * 'medium' (eg 'h:mm:ss a' - '11:42:13 AM') or |
| 176 | 176 | * 'short' (eg 'h:mm a' - '11:42 AM') |
| 177 | - * @param string|\DateTimeZone $toTimezone The timezone to set; leave empty to use the default timezone |
|
| 177 | + * @param \DateTimeZone $toTimezone The timezone to set; leave empty to use the default timezone |
|
| 178 | 178 | * (or the timezone associated to $value if it's already a \DateTime) |
| 179 | 179 | * @param string $locale The locale to use. If empty we'll use the default |
| 180 | 180 | * |