@@ -145,6 +145,9 @@ |
||
145 | 145 | return $a; |
146 | 146 | } |
147 | 147 | |
148 | + /** |
|
149 | + * @param integer $flags |
|
150 | + */ |
|
148 | 151 | private static function extractFlags($flags) |
149 | 152 | { |
150 | 153 | $flagsArray = array(); |
@@ -80,6 +80,9 @@ discard block |
||
80 | 80 | return $a; |
81 | 81 | } |
82 | 82 | |
83 | + /** |
|
84 | + * @param boolean $dumpArgs |
|
85 | + */ |
|
83 | 86 | public static function filterTrace(&$trace, $dumpArgs, $offset = 0) |
84 | 87 | { |
85 | 88 | if (0 > $offset || empty($trace[$offset])) { |
@@ -111,6 +114,10 @@ discard block |
||
111 | 114 | } |
112 | 115 | } |
113 | 116 | |
117 | + /** |
|
118 | + * @param string $xPrefix |
|
119 | + * @param integer $filter |
|
120 | + */ |
|
114 | 121 | private static function filterExceptionArray(array $a, $xPrefix, $filter) |
115 | 122 | { |
116 | 123 | if (isset($a[$xPrefix.'trace'])) { |
@@ -57,6 +57,9 @@ |
||
57 | 57 | ), |
58 | 58 | ); |
59 | 59 | |
60 | + /** |
|
61 | + * @param boolean $isNested |
|
62 | + */ |
|
60 | 63 | public static function castPdo(\PDO $c, array $a, Stub $stub, $isNested) |
61 | 64 | { |
62 | 65 | $attr = array(); |
@@ -150,6 +150,9 @@ discard block |
||
150 | 150 | return $a; |
151 | 151 | } |
152 | 152 | |
153 | + /** |
|
154 | + * @param boolean $isNested |
|
155 | + */ |
|
153 | 156 | public static function castParameter(\ReflectionParameter $c, array $a, Stub $stub, $isNested) |
154 | 157 | { |
155 | 158 | $prefix = Caster::PREFIX_VIRTUAL; |
@@ -230,6 +233,9 @@ discard block |
||
230 | 233 | self::addMap($a, $c, self::$extraMap, ''); |
231 | 234 | } |
232 | 235 | |
236 | + /** |
|
237 | + * @param string $prefix |
|
238 | + */ |
|
233 | 239 | private static function addMap(&$a, \Reflector $c, $map, $prefix = Caster::PREFIX_VIRTUAL) |
234 | 240 | { |
235 | 241 | foreach ($map as $k => $m) { |
@@ -47,6 +47,8 @@ discard block |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * {@inheritdoc} |
50 | + * @param string $output |
|
51 | + * @param string $charset |
|
50 | 52 | */ |
51 | 53 | public function __construct($output = null, $charset = null) |
52 | 54 | { |
@@ -99,6 +101,7 @@ discard block |
||
99 | 101 | |
100 | 102 | /** |
101 | 103 | * {@inheritdoc} |
104 | + * @param resource $output |
|
102 | 105 | */ |
103 | 106 | public function dump(Data $data, $output = null) |
104 | 107 | { |
@@ -427,6 +430,7 @@ discard block |
||
427 | 430 | |
428 | 431 | /** |
429 | 432 | * {@inheritdoc} |
433 | + * @param integer $depth |
|
430 | 434 | */ |
431 | 435 | protected function dumpLine($depth, $endOfValue = false) |
432 | 436 | { |
@@ -445,6 +449,10 @@ discard block |
||
445 | 449 | // Replaces non-ASCII UTF-8 chars by numeric HTML entities |
446 | 450 | $this->line = preg_replace_callback( |
447 | 451 | '/[\x80-\xFF]+/', |
452 | + |
|
453 | + /** |
|
454 | + * @param integer $m |
|
455 | + */ |
|
448 | 456 | function ($m) { |
449 | 457 | $m = unpack('C*', $m[0]); |
450 | 458 | $i = 1; |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * |
197 | 197 | * @param string $scalar |
198 | 198 | * @param string $delimiters |
199 | - * @param array $stringDelimiters |
|
199 | + * @param string[] $stringDelimiters |
|
200 | 200 | * @param int &$i |
201 | 201 | * @param bool $evaluate |
202 | 202 | * @param array $references |
@@ -247,6 +247,7 @@ discard block |
||
247 | 247 | * |
248 | 248 | * @param string $scalar |
249 | 249 | * @param int &$i |
250 | + * @param integer $i |
|
250 | 251 | * |
251 | 252 | * @return string A YAML string |
252 | 253 | * |