Completed
Push — master ( a25d30...083703 )
by Maxim
02:28
created
src/Weew/Console/Commands/GlobalHelpCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @param IOutput $output
26 26
      * @param IConsole $console
27 27
      *
28
-     * @return bool
28
+     * @return false|null
29 29
      */
30 30
     public function run(IInput $input, IOutput $output, IConsole $console) {
31 31
         if ($input->hasOption('--help')) {
Please login to merge, or discard this patch.
src/Weew/Console/Commands/GlobalPassthroughCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * @param IOutput $output
24 24
      * @param IConsole $console
25 25
      *
26
-     * @return bool
26
+     * @return boolean|null
27 27
      */
28 28
     public function run(IInput $input, IOutput $output, IConsole $console) {
29 29
         if ($input->getOption('--passthrough')) {
Please login to merge, or discard this patch.
src/Weew/Console/Console.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
     }
261 261
 
262 262
     /**
263
-     * @param $string
263
+     * @param string $string
264 264
      */
265 265
     public function parseString($string) {
266 266
         $this->handleArgs($this->argumentsParser->parse($string));
Please login to merge, or discard this patch.
src/Weew/Console/Widgets/TableWidget.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @param $title
62
+     * @param string $title
63 63
      *
64 64
      * @return $this
65 65
      */
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @param $type
171
+     * @param string $type
172 172
      * @param array $args
173 173
      */
174 174
     private function addItem($type, array $args) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
                     $colWidth = strlen($this->output->format($col, OutputFormat::PLAIN));
156 156
 
157 157
                     // if not last row
158
-                    if ( array_has($row['cols'], $colIndex + 1)) {
158
+                    if (array_has($row['cols'], $colIndex + 1)) {
159 159
                         $col .= str_repeat(' ', $width - $colWidth);
160 160
                     }
161 161
                 }
Please login to merge, or discard this patch.
src/Weew/Console/Output.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
      * @param bool $enableBuffering
211 211
      */
212 212
     public function setEnableBuffering($enableBuffering) {
213
-        $this->enableBuffering = !! $enableBuffering;
213
+        $this->enableBuffering = ! ! $enableBuffering;
214 214
     }
215 215
 
216 216
     /**
Please login to merge, or discard this patch.
src/Weew/Console/Input.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
      * @param ICommand $command
161 161
      */
162 162
     public function setCommand(ICommand $command) {
163
-         $this->command = $command;
163
+            $this->command = $command;
164 164
     }
165 165
 
166 166
     /**
Please login to merge, or discard this patch.