@@ -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 | { |
@@ -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 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * __construct |
| 28 | 28 | * |
| 29 | - * @param string|array $caption Caption or array of all attributes |
|
| 29 | + * @param string $caption Caption or array of all attributes |
|
| 30 | 30 | * @param string $name Unique identifier for this tray |
| 31 | 31 | */ |
| 32 | 32 | public function __construct($caption, $name = null) |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | /** |
| 73 | 73 | * Add attributes to the render suppression list |
| 74 | 74 | * |
| 75 | - * @param string|string[] $names attributes to suppress |
|
| 75 | + * @param string[] $names attributes to suppress |
|
| 76 | 76 | * |
| 77 | 77 | * @return void |
| 78 | 78 | */ |
@@ -31,6 +31,9 @@ |
||
| 31 | 31 | var $languageFolder = null; |
| 32 | 32 | var $logs = array(); |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $dirname |
|
| 36 | + */ |
|
| 34 | 37 | function xoopsUpgrade($dirname = null) |
| 35 | 38 | { |
| 36 | 39 | if ($dirname) { |
@@ -34,6 +34,9 @@ |
||
| 34 | 34 | return (bool)($value); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param string $sql |
|
| 39 | + */ |
|
| 37 | 40 | function query($sql) |
| 38 | 41 | { |
| 39 | 42 | $xoops = Xoops::getInstance(); |
@@ -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 />"; |