Completed
Pull Request — master (#78)
by Aydin
02:26
created
src/CliMenuBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
     }
376 376
 
377 377
     /**
378
-     * @return array
378
+     * @return SelectableItem[]
379 379
      */
380 380
     private function getDefaultItems()
381 381
     {
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
 
464 464
     /**
465 465
      * @param string $id
466
-     * @return CliMenu
466
+     * @return CliMenuBuilder
467 467
      * @throws RuntimeException
468 468
      */
469 469
     public function getSubMenu($id)
Please login to merge, or discard this patch.
src/MenuStyle.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -376,8 +376,8 @@
 block discarded – undo
376 376
     /**
377 377
      * Get padding for right had side of content
378 378
      *
379
-     * @param $contentLength
380
-     * @return int
379
+     * @param integer $contentLength
380
+     * @return double
381 381
      */
382 382
     public function getRightHandPadding($contentLength)
383 383
     {
Please login to merge, or discard this patch.
src/CliMenu.php 1 patch
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.