@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | * Sets the decorated flag. |
23 | 23 | * |
24 | 24 | * @param bool $decorated Whether to decorate the messages or not |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function setDecorated($decorated); |
27 | 28 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | * |
38 | 39 | * @param string $name The style name |
39 | 40 | * @param OutputFormatterStyleInterface $style The style instance |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function setStyle($name, OutputFormatterStyleInterface $style); |
42 | 44 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * |
60 | 60 | * @param string|null $foreground The style foreground color name |
61 | 61 | * @param string|null $background The style background color name |
62 | - * @param array $options The style options |
|
62 | + * @param string[] $options The style options |
|
63 | 63 | */ |
64 | 64 | public function __construct(string $foreground = null, string $background = null, array $options = array()) |
65 | 65 | { |
@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | * Sets style foreground color. |
23 | 23 | * |
24 | 24 | * @param string $color The color name |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function setForeground($color = null); |
27 | 28 | |
@@ -29,6 +30,7 @@ discard block |
||
29 | 30 | * Sets style background color. |
30 | 31 | * |
31 | 32 | * @param string $color The color name |
33 | + * @return void |
|
32 | 34 | */ |
33 | 35 | public function setBackground($color = null); |
34 | 36 | |
@@ -36,6 +38,7 @@ discard block |
||
36 | 38 | * Sets some specific style option. |
37 | 39 | * |
38 | 40 | * @param string $option The option name |
41 | + * @return void |
|
39 | 42 | */ |
40 | 43 | public function setOption($option); |
41 | 44 | |
@@ -43,11 +46,13 @@ discard block |
||
43 | 46 | * Unsets some specific style option. |
44 | 47 | * |
45 | 48 | * @param string $option The option name |
49 | + * @return void |
|
46 | 50 | */ |
47 | 51 | public function unsetOption($option); |
48 | 52 | |
49 | 53 | /** |
50 | 54 | * Sets multiple style options at once. |
55 | + * @return void |
|
51 | 56 | */ |
52 | 57 | public function setOptions(array $options); |
53 | 58 |
@@ -101,6 +101,9 @@ |
||
101 | 101 | } |
102 | 102 | } |
103 | 103 | |
104 | + /** |
|
105 | + * @param integer $memory |
|
106 | + */ |
|
104 | 107 | public static function formatMemory($memory) |
105 | 108 | { |
106 | 109 | if ($memory >= 1024 * 1024 * 1024) { |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * Sets the helper set associated with this helper. |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function setHelperSet(HelperSet $helperSet = null); |
25 | 26 |
@@ -99,7 +99,7 @@ |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
102 | - * @return Helper[] |
|
102 | + * @return \ArrayIterator |
|
103 | 103 | */ |
104 | 104 | public function getIterator() |
105 | 105 | { |
@@ -107,7 +107,7 @@ |
||
107 | 107 | * @param Process $process The Process |
108 | 108 | * @param callable|null $callback A PHP callable |
109 | 109 | * |
110 | - * @return callable |
|
110 | + * @return \Closure |
|
111 | 111 | */ |
112 | 112 | public function wrapCallback(OutputInterface $output, Process $process, callable $callback = null) |
113 | 113 | { |
@@ -236,7 +236,7 @@ |
||
236 | 236 | /** |
237 | 237 | * Sets the redraw frequency. |
238 | 238 | * |
239 | - * @param int|float $freq The frequency in steps |
|
239 | + * @param integer $freq The frequency in steps |
|
240 | 240 | */ |
241 | 241 | public function setRedrawFrequency(int $freq) |
242 | 242 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * @param OutputInterface $output |
38 | 38 | * @param string|null $format Indicator format |
39 | 39 | * @param int $indicatorChangeInterval Change interval in milliseconds |
40 | - * @param array|null $indicatorValues Animated indicator characters |
|
40 | + * @param string[] $indicatorValues Animated indicator characters |
|
41 | 41 | */ |
42 | 42 | public function __construct(OutputInterface $output, string $format = null, int $indicatorChangeInterval = 100, array $indicatorValues = null) |
43 | 43 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Starts the indicator output. |
80 | 80 | * |
81 | - * @param $message |
|
81 | + * @param string $message |
|
82 | 82 | */ |
83 | 83 | public function start($message) |
84 | 84 | { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | /** |
124 | 124 | * Finish the indicator with message. |
125 | 125 | * |
126 | - * @param $message |
|
126 | + * @param string $message |
|
127 | 127 | */ |
128 | 128 | public function finish($message) |
129 | 129 | { |