@@ -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 | */ |
@@ -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 | * |
@@ -243,7 +243,7 @@ |
||
243 | 243 | /** |
244 | 244 | * add a PSR-3 compatible logger to the chain |
245 | 245 | * |
246 | - * @param object $logger a PSR-3 compatible logger object |
|
246 | + * @param \DebugbarLogger $logger a PSR-3 compatible logger object |
|
247 | 247 | * |
248 | 248 | * @return void |
249 | 249 | */ |
@@ -112,7 +112,7 @@ |
||
112 | 112 | /** |
113 | 113 | * getRegistered - access list of registered providers |
114 | 114 | * |
115 | - * @return array of registered providers managed by this instance |
|
115 | + * @return AbstractContract[] of registered providers managed by this instance |
|
116 | 116 | */ |
117 | 117 | public function &getRegistered() |
118 | 118 | { |
@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * Recall a user id from the "remember me" cookie. |
91 | 91 | * |
92 | - * @return integer|false user id, or false if non-exisiting or invalid cookie |
|
92 | + * @return integer user id, or false if non-exisiting or invalid cookie |
|
93 | 93 | */ |
94 | 94 | public function recall() |
95 | 95 | { |
@@ -549,7 +549,7 @@ discard block |
||
549 | 549 | * |
550 | 550 | * @param string $name extension name |
551 | 551 | * |
552 | - * @return mixed |
|
552 | + * @return string |
|
553 | 553 | */ |
554 | 554 | public function executeFilter($name) |
555 | 555 | { |
@@ -591,7 +591,7 @@ discard block |
||
591 | 591 | * @param string $default default value is no match |
592 | 592 | * @param bool $firstLetter match first letter only |
593 | 593 | * |
594 | - * @return mixed matched string, or default if no match |
|
594 | + * @return string matched string, or default if no match |
|
595 | 595 | */ |
596 | 596 | public function cleanEnum($text, $enumSet, $default = '', $firstLetter = false) |
597 | 597 | { |
@@ -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 | { |
@@ -321,7 +321,7 @@ |
||
321 | 321 | /** |
322 | 322 | * renderValidationJS |
323 | 323 | * |
324 | - * @return bool|string |
|
324 | + * @return string|false |
|
325 | 325 | */ |
326 | 326 | public function renderValidationJS() |
327 | 327 | { |