@@ -608,7 +608,7 @@ discard block |
||
608 | 608 | * Gets/sets the value for a current meta item. |
609 | 609 | * |
610 | 610 | * @param string $name The name of the meta key. |
611 | - * @param mixed $value Set a new value for the meta key. |
|
611 | + * @param string|null $value Set a new value for the meta key. |
|
612 | 612 | * @return Cli|mixed Returns the current value of the meta item or `$this` for fluent setting. |
613 | 613 | */ |
614 | 614 | public function meta($name, $value = null) { |
@@ -842,7 +842,7 @@ discard block |
||
842 | 842 | * Format some text for the console. |
843 | 843 | * |
844 | 844 | * @param string $text The text to format. |
845 | - * @param array $wrap The format to wrap in the form ['before', 'after']. |
|
845 | + * @param string[] $wrap The format to wrap in the form ['before', 'after']. |
|
846 | 846 | * @return string Returns the string formatted according to {@link Cli::$format}. |
847 | 847 | */ |
848 | 848 | protected function formatString($text, array $wrap) { |
@@ -302,7 +302,7 @@ |
||
302 | 302 | * Format some text for the console. |
303 | 303 | * |
304 | 304 | * @param string $text The text to format. |
305 | - * @param array $wrap The format to wrap in the form ['before', 'after']. |
|
305 | + * @param string[] $wrap The format to wrap in the form ['before', 'after']. |
|
306 | 306 | * @return string Returns the string formatted according to {@link Cli::$format}. |
307 | 307 | */ |
308 | 308 | protected function formatString($text, array $wrap) { |