Completed
Pull Request — master (#78)
by Aydin
02:26
created
src/CliMenu.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     /**
209 209
      * Move the selection in a given direction, up / down
210 210
      *
211
-     * @param $direction
211
+     * @param string $direction
212 212
      */
213 213
     protected function moveSelection($direction)
214 214
     {
@@ -462,6 +462,9 @@  discard block
 block discarded – undo
462 462
         return new Password(new InputIO($this, $style, $this->terminal));
463 463
     }
464 464
 
465
+    /**
466
+     * @param string $text
467
+     */
465 468
     private function guardSingleLine($text)
466 469
     {
467 470
         if (strpos($text, "\n") !== false) {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace PhpSchool\CliMenu;
4 4
 
5
-use PhpSchool\CliMenu\Dialogue\NumberInput;
6
-use PhpSchool\CliMenu\Exception\InvalidInstantiationException;
7 5
 use PhpSchool\CliMenu\Exception\InvalidTerminalException;
8 6
 use PhpSchool\CliMenu\Exception\MenuNotOpenException;
9 7
 use PhpSchool\CliMenu\Input\InputIO;
Please login to merge, or discard this patch.