@@ -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) { |
@@ -285,6 +285,9 @@ discard block |
||
| 285 | 285 | return $result; |
| 286 | 286 | } |
| 287 | 287 | |
| 288 | + /** |
|
| 289 | + * @param string $str |
|
| 290 | + */ |
|
| 288 | 291 | protected function messageStr($str, $eol = true) { |
| 289 | 292 | return $this->fullMessageStr(time(), $str, null, $eol); |
| 290 | 293 | } |
@@ -293,7 +296,7 @@ discard block |
||
| 293 | 296 | * Format some text for the console. |
| 294 | 297 | * |
| 295 | 298 | * @param string $text The text to format. |
| 296 | - * @param array $wrap The format to wrap in the form ['before', 'after']. |
|
| 299 | + * @param string[] $wrap The format to wrap in the form ['before', 'after']. |
|
| 297 | 300 | * @return string Returns the string formatted according to {@link Cli::$format}. |
| 298 | 301 | */ |
| 299 | 302 | protected function formatString($text, array $wrap) { |