@@ -55,6 +55,7 @@ |
||
55 | 55 | * @param string $locale The locale |
56 | 56 | * |
57 | 57 | * @throws InvalidArgumentException If the locale contains invalid characters |
58 | + * @return boolean|null |
|
58 | 59 | */ |
59 | 60 | public function setLocale($locale); |
60 | 61 |
@@ -29,6 +29,7 @@ |
||
29 | 29 | * @param array $options Options that are passed to the dumper |
30 | 30 | * |
31 | 31 | * @throws InvalidArgumentException |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function write(MessageCatalogue $catalogue, $format, $options = array()); |
34 | 35 | } |
@@ -23,12 +23,19 @@ |
||
23 | 23 | } |
24 | 24 | |
25 | 25 | |
26 | + /** |
|
27 | + * @param boolean $arg1 |
|
28 | + * @param boolean $arg2 |
|
29 | + */ |
|
26 | 30 | public function second($arg1, $arg2) |
27 | 31 | { |
28 | 32 | self::third([1, 2, 3]); |
29 | 33 | } |
30 | 34 | |
31 | 35 | |
36 | + /** |
|
37 | + * @param integer[] $arg1 |
|
38 | + */ |
|
32 | 39 | public static function third($arg1) |
33 | 40 | { |
34 | 41 | throw new Exception('The my exception', 123); |
@@ -17,12 +17,19 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | |
20 | +/** |
|
21 | + * @param boolean $arg1 |
|
22 | + * @param boolean $arg2 |
|
23 | + */ |
|
20 | 24 | function second($arg1, $arg2) |
21 | 25 | { |
22 | 26 | third([1, 2, 3]); |
23 | 27 | } |
24 | 28 | |
25 | 29 | |
30 | +/** |
|
31 | + * @param integer[] $arg1 |
|
32 | + */ |
|
26 | 33 | function third($arg1) |
27 | 34 | { |
28 | 35 | throw new Exception('The my exception', 123); |
@@ -141,6 +141,7 @@ |
||
141 | 141 | |
142 | 142 | |
143 | 143 | /** |
144 | + * @param string $suffix |
|
144 | 145 | * @return array |
145 | 146 | */ |
146 | 147 | private function renderPanels($suffix = null) |
@@ -107,6 +107,10 @@ |
||
107 | 107 | } |
108 | 108 | |
109 | 109 | |
110 | + /** |
|
111 | + * @param \Throwable $exception |
|
112 | + * @param string $template |
|
113 | + */ |
|
110 | 114 | private function renderTemplate($exception, $template, $toScreen = true) |
111 | 115 | { |
112 | 116 | $messageHtml = preg_replace( |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | |
370 | 370 | /** |
371 | 371 | * Handler to catch warnings and notices. |
372 | - * @return bool|null false to call normal error handler, null otherwise |
|
372 | + * @return false|null false to call normal error handler, null otherwise |
|
373 | 373 | * @throws ErrorException |
374 | 374 | * @internal |
375 | 375 | */ |
@@ -437,6 +437,9 @@ discard block |
||
437 | 437 | } |
438 | 438 | |
439 | 439 | |
440 | + /** |
|
441 | + * @param boolean $errorOccurred |
|
442 | + */ |
|
440 | 443 | private static function removeOutputBuffers($errorOccurred) |
441 | 444 | { |
442 | 445 | while (ob_get_level() > self::$obLevel) { |
@@ -597,7 +600,7 @@ discard block |
||
597 | 600 | /** |
598 | 601 | * Logs message or exception. |
599 | 602 | * @param mixed $message |
600 | - * @return mixed |
|
603 | + * @return string |
|
601 | 604 | */ |
602 | 605 | public static function log($message, $priority = ILogger::INFO) |
603 | 606 | { |
@@ -190,6 +190,9 @@ |
||
190 | 190 | } |
191 | 191 | |
192 | 192 | |
193 | + /** |
|
194 | + * @param string $var |
|
195 | + */ |
|
193 | 196 | private static function dumpString(&$var, $options) |
194 | 197 | { |
195 | 198 | return '<span class="tracy-dump-string">"' |
@@ -60,6 +60,9 @@ discard block |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | |
63 | + /** |
|
64 | + * @param string $mask |
|
65 | + */ |
|
63 | 66 | public static function formatHtml($mask) |
64 | 67 | { |
65 | 68 | $args = func_get_args(); |
@@ -75,6 +78,9 @@ discard block |
||
75 | 78 | } |
76 | 79 | |
77 | 80 | |
81 | + /** |
|
82 | + * @param string $method |
|
83 | + */ |
|
78 | 84 | public static function findTrace(array $trace, $method, &$index = null) |
79 | 85 | { |
80 | 86 | $m = explode('::', $method); |
@@ -277,6 +283,7 @@ discard block |
||
277 | 283 | |
278 | 284 | /** |
279 | 285 | * Finds the best suggestion. |
286 | + * @param string $value |
|
280 | 287 | * @return string|null |
281 | 288 | * @internal |
282 | 289 | */ |