@@ -362,7 +362,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -65,7 +65,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -73,7 +73,7 @@ |
||
| 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 |
@@ -28,7 +28,7 @@ |
||
| 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 | { |
@@ -21,6 +21,10 @@ |
||
| 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); |
@@ -80,7 +80,7 @@ |
||
| 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 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * |
| 57 | 57 | * Lazily re-opens STDIN after hitting an EOF |
| 58 | 58 | * |
| 59 | - * @return resource |
|
| 59 | + * @return boolean |
|
| 60 | 60 | * @throws RuntimeException |
| 61 | 61 | */ |
| 62 | 62 | protected function getStdIn() |