@@ -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) { |
@@ -661,7 +661,7 @@ |
||
| 661 | 661 | * Gets/sets the value for a current meta item. |
| 662 | 662 | * |
| 663 | 663 | * @param string $name The name of the meta key. |
| 664 | - * @param mixed $value Set a new value for the meta key. |
|
| 664 | + * @param string|null $value Set a new value for the meta key. |
|
| 665 | 665 | * @return Cli|mixed Returns the current value of the meta item or `$this` for fluent setting. |
| 666 | 666 | */ |
| 667 | 667 | public function meta($name, $value = null) { |