Completed
Pull Request — master (#50)
by
unknown
32:35 queued 21:26
created
vendor/symfony/console/Application.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -1022,6 +1022,9 @@  discard block
 block discarded – undo
1022 1022
         $this->defaultCommand = $commandName;
1023 1023
     }
1024 1024
 
1025
+    /**
1026
+     * @param string $string
1027
+     */
1025 1028
     private function stringWidth($string)
1026 1029
     {
1027 1030
         if (false === $encoding = mb_detect_encoding($string, null, true)) {
@@ -1031,6 +1034,9 @@  discard block
 block discarded – undo
1031 1034
         return mb_strwidth($string, $encoding);
1032 1035
     }
1033 1036
 
1037
+    /**
1038
+     * @param integer $width
1039
+     */
1034 1040
     private function splitStringByWidth($string, $width)
1035 1041
     {
1036 1042
         // str_split is not suitable for multi-byte characters, we should use preg_split to get char array properly.
Please login to merge, or discard this patch.
vendor/symfony/console/Formatter/OutputFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
      *
195 195
      * @param string $string
196 196
      *
197
-     * @return OutputFormatterStyle|bool false if string is not format string
197
+     * @return OutputFormatterStyleInterface|null false if string is not format string
198 198
      */
199 199
     private function createStyleFromString($string)
200 200
     {
Please login to merge, or discard this patch.
vendor/symfony/console/Formatter/OutputFormatterStyle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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($foreground = null, $background = null, array $options = array())
65 65
     {
Please login to merge, or discard this patch.
vendor/symfony/console/Helper/ProgressBar.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@  discard block
 block discarded – undo
141 141
         return isset(self::$formats[$name]) ? self::$formats[$name] : null;
142 142
     }
143 143
 
144
+    /**
145
+     * @param string $message
146
+     */
144 147
     public function setMessage($message, $name = 'message')
145 148
     {
146 149
         $this->messages[$name] = $message;
@@ -299,7 +302,7 @@  discard block
 block discarded – undo
299 302
     /**
300 303
      * Sets the redraw frequency.
301 304
      *
302
-     * @param int|float $freq The frequency in steps
305
+     * @param integer $freq The frequency in steps
303 306
      */
304 307
     public function setRedrawFrequency($freq)
305 308
     {
Please login to merge, or discard this patch.
vendor/symfony/console/Helper/ProgressIndicator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @param OutputInterface $output
37 37
      * @param string|null     $format                  Indicator format
38 38
      * @param int             $indicatorChangeInterval Change interval in milliseconds
39
-     * @param array|null      $indicatorValues         Animated indicator characters
39
+     * @param string[]      $indicatorValues         Animated indicator characters
40 40
      */
41 41
     public function __construct(OutputInterface $output, $format = null, $indicatorChangeInterval = 100, $indicatorValues = null)
42 42
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * Starts the indicator output.
115 115
      *
116
-     * @param $message
116
+     * @param string $message
117 117
      */
118 118
     public function start($message)
119 119
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     /**
160 160
      * Finish the indicator with message.
161 161
      *
162
-     * @param $message
162
+     * @param string $message
163 163
      */
164 164
     public function finish($message)
165 165
     {
Please login to merge, or discard this patch.
vendor/symfony/console/Helper/Table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
      * Sets table column style.
150 150
      *
151 151
      * @param int               $columnIndex Column index
152
-     * @param TableStyle|string $name        The style name or a TableStyle instance
152
+     * @param TableStyle $name        The style name or a TableStyle instance
153 153
      *
154 154
      * @return Table
155 155
      */
Please login to merge, or discard this patch.
vendor/symfony/console/Helper/TableSeparator.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 class TableSeparator extends TableCell
20 20
 {
21 21
     /**
22
-     * @param string $value
23 22
      * @param array  $options
24 23
      */
25 24
     public function __construct(array $options = array())
Please login to merge, or discard this patch.
vendor/symfony/console/Tests/ApplicationTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -49,6 +49,11 @@
 block discarded – undo
49 49
         require_once self::$fixturesPath.'/FooSubnamespaced2Command.php';
50 50
     }
51 51
 
52
+    /**
53
+     * @param string $text
54
+     *
55
+     * @return string
56
+     */
52 57
     protected function normalizeLineBreaks($text)
53 58
     {
54 59
         return str_replace(PHP_EOL, "\n", $text);
Please login to merge, or discard this patch.
vendor/symfony/console/Tests/Helper/ProgressIndicatorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -173,6 +173,9 @@
 block discarded – undo
173 173
         return new StreamOutput(fopen('php://memory', 'r+', false), $verbosity, $decorated);
174 174
     }
175 175
 
176
+    /**
177
+     * @param string $expected
178
+     */
176 179
     protected function generateOutput($expected)
177 180
     {
178 181
         $count = substr_count($expected, "\n");
Please login to merge, or discard this patch.