@@ -202,8 +202,8 @@ |
||
202 | 202 | * We don't have any more options, so let's throw an exception right now |
203 | 203 | * and hope the developer won't let it fail silently. |
204 | 204 | * |
205 | - * @param mixed $length |
|
206 | - * @return void |
|
205 | + * @param integer $length |
|
206 | + * @return string |
|
207 | 207 | * @throws Exception |
208 | 208 | */ |
209 | 209 | function random_bytes($length) |
@@ -62,7 +62,7 @@ |
||
62 | 62 | * @param string $pre insert before needle |
63 | 63 | * @param string $post insert after needle |
64 | 64 | * |
65 | - * @return mixed return from preg_replace_callback() |
|
65 | + * @return string return from preg_replace_callback() |
|
66 | 66 | */ |
67 | 67 | protected static function splitOnTag($needle, $haystack, $pre, $post) |
68 | 68 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * Allow one instance only! |
63 | 63 | * |
64 | - * @return object |
|
64 | + * @return XoopsPreload |
|
65 | 65 | */ |
66 | 66 | public static function getInstance() |
67 | 67 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * Triggers a specific event |
128 | 128 | * |
129 | - * @param $event_name string Name of the event to trigger |
|
129 | + * @param string $event_name string Name of the event to trigger |
|
130 | 130 | * @param $args array Method arguments |
131 | 131 | * |
132 | 132 | * @return void |
@@ -161,8 +161,8 @@ discard block |
||
161 | 161 | public $_extra; |
162 | 162 | |
163 | 163 | /** |
164 | - * @param $code |
|
165 | - * @param null $extra |
|
164 | + * @param integer $code |
|
165 | + * @param string $extra |
|
166 | 166 | */ |
167 | 167 | public function __construct($code, $extra = null) |
168 | 168 | { |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | public $_value; |
277 | 277 | |
278 | 278 | /** |
279 | - * @param $value |
|
279 | + * @param boolean $value |
|
280 | 280 | */ |
281 | 281 | public function __construct($value) |
282 | 282 | { |
@@ -383,7 +383,7 @@ discard block |
||
383 | 383 | } |
384 | 384 | |
385 | 385 | /** |
386 | - * @param $tagobj |
|
386 | + * @param XoopsXmlRpcStruct $tagobj |
|
387 | 387 | */ |
388 | 388 | public function add(&$tagobj) |
389 | 389 | { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * @param $name |
76 | 76 | * @param $val |
77 | 77 | * |
78 | - * @return mixed |
|
78 | + * @return boolean |
|
79 | 79 | */ |
80 | 80 | public function setConfig($name, $val) |
81 | 81 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @return mixed |
|
86 | + * @return string |
|
87 | 87 | */ |
88 | 88 | public function render() |
89 | 89 | { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * @return mixed |
|
96 | + * @return string |
|
97 | 97 | */ |
98 | 98 | public function renderValidationJS() |
99 | 99 | { |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * Sets the "value" attribute |
62 | 62 | * |
63 | 63 | * @patam $value string |
64 | - * @param $value |
|
64 | + * @param string $value |
|
65 | 65 | */ |
66 | 66 | public function setValue($value) |
67 | 67 | { |
@@ -113,7 +113,7 @@ |
||
113 | 113 | * Set the initial value |
114 | 114 | * |
115 | 115 | * @patam $value string |
116 | - * @param $value |
|
116 | + * @param string $value |
|
117 | 117 | */ |
118 | 118 | public function setValue($value) |
119 | 119 | { |
@@ -100,7 +100,7 @@ |
||
100 | 100 | /** |
101 | 101 | * Set initial text value |
102 | 102 | * |
103 | - * @param $value string |
|
103 | + * @param string $value string |
|
104 | 104 | */ |
105 | 105 | public function setValue($value) |
106 | 106 | { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Create a token in the user's session |
46 | 46 | * |
47 | - * @param int|string $timeout time in seconds the token should be valid |
|
47 | + * @param integer $timeout time in seconds the token should be valid |
|
48 | 48 | * @param string $name name of session variable |
49 | 49 | * |
50 | 50 | * @return string token value |