Completed
Pull Request — master (#14)
by Michael
02:11
created
src/CliMenu.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     protected $parent;
62 62
 
63 63
     /**
64
-     * @param $title
64
+     * @param string|false $title
65 65
      * @param array $items
66 66
      * @param TerminalInterface|null $terminal
67 67
      * @param MenuStyle|null $style
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     /**
205 205
      * Move the selection ina  given direction, up / down
206 206
      *
207
-     * @param $direction
207
+     * @param string $direction
208 208
      */
209 209
     protected function moveSelection($direction)
210 210
     {
Please login to merge, or discard this patch.
src/CliMenuBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -361,7 +361,7 @@
 block discarded – undo
361 361
     }
362 362
 
363 363
     /**
364
-     * @return array
364
+     * @return SelectableItem[]
365 365
      */
366 366
     private function getDefaultItems()
367 367
     {
Please login to merge, or discard this patch.
src/Terminal/WindowsTerminal.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Check if TTY is in raw mode
55 55
      *
56
-     * @return bool
56
+     * @return boolean|null
57 57
      */
58 58
     public function isRaw()
59 59
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * Test whether terminal is valid TTY
65 65
      *
66
-     * @return bool
66
+     * @return boolean|null
67 67
      */
68 68
     public function isTTY()
69 69
     {
Please login to merge, or discard this patch.