Completed
Push — master ( 1e240b...42513d )
by Joe
02:04
created
src/CLImate.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      * @param string $name
363 363
      * @param array $arguments
364 364
      *
365
-     * @return object|null
365
+     * @return null|TerminalObject\Basic\BasicTerminalObjectInterface
366 366
      */
367 367
     protected function buildTerminalObject($name, $arguments)
368 368
     {
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
      * @param string $name
388 388
      * @param array $arguments
389 389
      *
390
-     * @return object|null
390
+     * @return TerminalObject\Basic\BasicTerminalObjectInterface|null
391 391
      */
392 392
     protected function routeRemainingMethod($name, array $arguments)
393 393
     {
Please login to merge, or discard this patch.
src/TerminalObject/Dynamic/Animation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * Scroll the art
66 66
      *
67 67
      * @param string $direction
68
-     * @return bool
68
+     * @return false|null
69 69
      */
70 70
     public function scroll($direction = 'right')
71 71
     {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     }
135 135
 
136 136
     /**
137
-     * @param League\CLImate\TerminalObject\Dynamic\Animation\Keyframe $keyframes
137
+     * @param null|Keyframe $keyframes
138 138
      */
139 139
     protected function setKeyFrames($keyframes)
140 140
     {
Please login to merge, or discard this patch.
src/TerminalObject/Dynamic/Input.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * Define the acceptable responses and whether or not to
74 74
      * display them to the user
75 75
      *
76
-     * @param  array|object $acceptable
76
+     * @param  string[] $acceptable
77 77
      * @param  boolean $show
78 78
      *
79 79
      * @return \League\CLImate\TerminalObject\Dynamic\Input
Please login to merge, or discard this patch.
src/TerminalObject/Helper/Art.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Specify which settings Draw needs to import
30 30
      *
31
-     * @return array
31
+     * @return string[]
32 32
      */
33 33
     public function settings()
34 34
     {
Please login to merge, or discard this patch.
src/TerminalObject/Router/ExtensionCollection.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -21,6 +21,10 @@
 block discarded – undo
21 21
      */
22 22
     protected $dynamic_interface = 'League\CLImate\TerminalObject\Dynamic\DynamicTerminalObjectInterface';
23 23
 
24
+    /**
25
+     * @param string $key
26
+     * @param string $class
27
+     */
24 28
     public function __construct($key, $class)
25 29
     {
26 30
         $this->createCollection($key, $class);
Please login to merge, or discard this patch.
src/Util/Output.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * Set the default writer
82 82
      *
83
-     * @param string|array $keys
83
+     * @param string $keys
84 84
      */
85 85
     public function defaultTo($keys)
86 86
     {
Please login to merge, or discard this patch.
src/Util/Reader/Stdin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      *
56 56
      * Lazily re-opens STDIN after hitting an EOF
57 57
      *
58
-     * @return resource
58
+     * @return boolean
59 59
      * @throws \Exception
60 60
      */
61 61
     protected function getStdIn()
Please login to merge, or discard this patch.
src/Argument/Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
     /**
230 230
      * Get the trailing arguments
231 231
      *
232
-     * @return string|null
232
+     * @return string
233 233
      */
234 234
     public function trailing()
235 235
     {
Please login to merge, or discard this patch.