|
@@ -608,7 +608,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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) { |
Please login to merge, or discard this patch.