@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * Set whether or not output should be formatted. |
97 | 97 | * |
98 | 98 | * @param boolean $formatOutput Whether or not to format output. |
99 | - * @return LogFormatter Returns `$this` for fluent calls. |
|
99 | + * @return Cli Returns `$this` for fluent calls. |
|
100 | 100 | */ |
101 | 101 | public function setFormatOutput($formatOutput) { |
102 | 102 | $this->formatOutput = $formatOutput; |
@@ -657,7 +657,7 @@ discard block |
||
657 | 657 | * Gets/sets the value for a current meta item. |
658 | 658 | * |
659 | 659 | * @param string $name The name of the meta key. |
660 | - * @param mixed $value Set a new value for the meta key. |
|
660 | + * @param string|null $value Set a new value for the meta key. |
|
661 | 661 | * @return Cli|mixed Returns the current value of the meta item or `$this` for fluent setting. |
662 | 662 | */ |
663 | 663 | public function meta($name, $value = null) { |
@@ -891,7 +891,7 @@ discard block |
||
891 | 891 | * Format some text for the console. |
892 | 892 | * |
893 | 893 | * @param string $text The text to format. |
894 | - * @param array $wrap The format to wrap in the form ['before', 'after']. |
|
894 | + * @param string[] $wrap The format to wrap in the form ['before', 'after']. |
|
895 | 895 | * @return string Returns the string formatted according to {@link Cli::$format}. |
896 | 896 | */ |
897 | 897 | protected function formatString($text, array $wrap) { |