@@ -341,6 +341,10 @@ |
||
341 | 341 | return $file; |
342 | 342 | } |
343 | 343 | |
344 | + /** |
|
345 | + * @param string $class |
|
346 | + * @param string $ext |
|
347 | + */ |
|
344 | 348 | private function findFileWithExtension($class, $ext) |
345 | 349 | { |
346 | 350 | // PSR-4 lookup |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * @param string $left The left argument |
30 | 30 | * @param string $right The right argument |
31 | 31 | * |
32 | - * @return A base-10 string of the sum of the two arguments |
|
32 | + * @return string base-10 string of the sum of the two arguments |
|
33 | 33 | */ |
34 | 34 | public function add($left, $right) { |
35 | 35 | return bcadd($left, $right, 0); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * @param string $left The left argument |
42 | 42 | * @param string $right The right argument |
43 | 43 | * |
44 | - * @return A base-10 string of the difference of the two arguments |
|
44 | + * @return string base-10 string of the difference of the two arguments |
|
45 | 45 | */ |
46 | 46 | public function subtract($left, $right) { |
47 | 47 | return bcsub($left, $right); |
@@ -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 | { |