@@ -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' ) ) { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * |
108 | 108 | * @param array $trace [OPTIONAL] you can pass your own trace, otherwise, `debug_backtrace` will be called |
109 | 109 | * |
110 | - * @return mixed |
|
110 | + * @return string|null |
|
111 | 111 | */ |
112 | 112 | public static function trace( $trace = null ) |
113 | 113 | { |
@@ -305,6 +305,9 @@ discard block |
||
305 | 305 | return $shortenedName; |
306 | 306 | } |
307 | 307 | |
308 | + /** |
|
309 | + * @return string |
|
310 | + */ |
|
308 | 311 | public static function getIdeLink( $file, $line ) |
309 | 312 | { |
310 | 313 | return str_replace( array( '%f', '%l' ), array( $file, $line ), self::$fileLinkFormat ); |
@@ -317,7 +320,7 @@ discard block |
||
317 | 320 | * @param int $lineNumber the line to display |
318 | 321 | * @param int $padding surrounding lines to show besides the main one |
319 | 322 | * |
320 | - * @return bool|string |
|
323 | + * @return false|string |
|
321 | 324 | */ |
322 | 325 | private static function _showSource( $file, $lineNumber, $padding = 7 ) |
323 | 326 | { |
@@ -590,7 +593,7 @@ discard block |
||
590 | 593 | * |
591 | 594 | * @param $step |
592 | 595 | * |
593 | - * @return array |
|
596 | + * @return boolean |
|
594 | 597 | */ |
595 | 598 | private static function _stepIsInternal( $step ) |
596 | 599 | { |
@@ -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 | { |
@@ -274,6 +274,12 @@ discard block |
||
274 | 274 | return empty($data) ? null : $data; |
275 | 275 | } |
276 | 276 | |
277 | + /** |
|
278 | + * @param integer $offset |
|
279 | + * @param boolean $exceptionOnInvalidType |
|
280 | + * @param boolean $objectSupport |
|
281 | + * @param boolean $objectForMap |
|
282 | + */ |
|
277 | 283 | private function parseBlock($offset, $yaml, $exceptionOnInvalidType, $objectSupport, $objectForMap) |
278 | 284 | { |
279 | 285 | $skippedLineNumbers = $this->skippedLineNumbers; |
@@ -792,6 +798,7 @@ discard block |
||
792 | 798 | * @see preg_last_error() |
793 | 799 | * |
794 | 800 | * @internal |
801 | + * @param string $pattern |
|
795 | 802 | */ |
796 | 803 | public static function preg_match($pattern, $subject, &$matches = null, $flags = 0, $offset = 0) |
797 | 804 | { |
@@ -275,6 +275,7 @@ |
||
275 | 275 | * |
276 | 276 | * @param string $scalar |
277 | 277 | * @param int &$i |
278 | + * @param integer $i |
|
278 | 279 | * |
279 | 280 | * @return string |
280 | 281 | * |