@@ -117,7 +117,7 @@ |
||
117 | 117 | * @param string $left The left argument |
118 | 118 | * @param string $right The right argument |
119 | 119 | * |
120 | - * @return string The binary result |
|
120 | + * @return string[] The binary result |
|
121 | 121 | */ |
122 | 122 | protected function subtractBinary($left, $right) { |
123 | 123 | $len = max(strlen($left), strlen($right)); |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * @param mixed $value The value this instance represents |
50 | 50 | * @param boolean $strict Not Implemented at this time |
51 | 51 | * |
52 | - * @return void |
|
52 | + * @return Strength |
|
53 | 53 | * @throws UnexpectedValueException If the value is not a constant |
54 | 54 | */ |
55 | 55 | public function __construct($value = null, $strict = false) { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * Cast the current object to a string and return its value |
71 | 71 | * |
72 | - * @return mixed the current value of the instance |
|
72 | + * @return string the current value of the instance |
|
73 | 73 | */ |
74 | 74 | public function __toString() { |
75 | 75 | return (string) $this->value; |
@@ -160,6 +160,9 @@ discard block |
||
160 | 160 | } |
161 | 161 | |
162 | 162 | |
163 | + /** |
|
164 | + * @param string $type |
|
165 | + */ |
|
163 | 166 | private static function _colorize( $text, $type, $nlAfter = true ) |
164 | 167 | { |
165 | 168 | $nlAfter = $nlAfter ? PHP_EOL : ''; |
@@ -201,6 +204,10 @@ discard block |
||
201 | 204 | } |
202 | 205 | |
203 | 206 | |
207 | + /** |
|
208 | + * @param string $char |
|
209 | + * @param integer $repeat |
|
210 | + */ |
|
204 | 211 | private static function _char( $char, $repeat = null ) |
205 | 212 | { |
206 | 213 | switch ( Kint::enabled() ) { |
@@ -221,6 +228,9 @@ discard block |
||
221 | 228 | return $repeat ? str_repeat( $char, $repeat ) : $char; |
222 | 229 | } |
223 | 230 | |
231 | + /** |
|
232 | + * @param string $text |
|
233 | + */ |
|
224 | 234 | private static function _title( $text ) |
225 | 235 | { |
226 | 236 | $escaped = kintParser::escape( $text ); |
@@ -171,7 +171,6 @@ |
||
171 | 171 | /** |
172 | 172 | * called for each dump, opens the html tag |
173 | 173 | * |
174 | - * @param array $callee caller information taken from debug backtrace |
|
175 | 174 | * |
176 | 175 | * @return string |
177 | 176 | */ |
@@ -234,6 +234,9 @@ |
||
234 | 234 | } |
235 | 235 | |
236 | 236 | |
237 | + /** |
|
238 | + * @return string|null |
|
239 | + */ |
|
237 | 240 | public static function escape( $value, $encoding = null ) |
238 | 241 | { |
239 | 242 | if ( empty( $value ) ) return $value; |
@@ -90,6 +90,9 @@ |
||
90 | 90 | } |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param integer $start |
|
95 | + */ |
|
93 | 96 | protected static function _substr( $string, $start, $end, $encoding = null ) |
94 | 97 | { |
95 | 98 | if ( function_exists( 'mb_substr' ) ) { |
@@ -195,6 +195,7 @@ |
||
195 | 195 | |
196 | 196 | /** |
197 | 197 | * Helper function for _color_hsl2rgb(). |
198 | + * @param double $h |
|
198 | 199 | */ |
199 | 200 | private static function _hue2rgb( $m1, $m2, $h ) |
200 | 201 | { |
@@ -724,7 +724,7 @@ discard block |
||
724 | 724 | * @param string $table table |
725 | 725 | * @param bool $prefixed true to return with table name prefixed |
726 | 726 | * |
727 | - * @return string|false string SQL to create table, or false if errors encountered |
|
727 | + * @return string|boolean string SQL to create table, or false if errors encountered |
|
728 | 728 | */ |
729 | 729 | protected function renderTableCreate($table, $prefixed = false) |
730 | 730 | { |
@@ -761,7 +761,7 @@ discard block |
||
761 | 761 | * @param string $sql SQL statement to execute |
762 | 762 | * @param bool $force true to use force updates even in safe requests |
763 | 763 | * |
764 | - * @return mixed result resource if no error, |
|
764 | + * @return resource result resource if no error, |
|
765 | 765 | * true if no error but no result |
766 | 766 | * false if error encountered. |
767 | 767 | * Any error message is in $this->lastError; |
@@ -70,7 +70,7 @@ |
||
70 | 70 | /** |
71 | 71 | * get the module object |
72 | 72 | * |
73 | - * @return XoopsModule |
|
73 | + * @return \XoopsModule |
|
74 | 74 | */ |
75 | 75 | public function getModule() |
76 | 76 | { |