diff --git a/src/Console.php b/src/Console.php index cdafd16..7f69b5c 100644 --- a/src/Console.php +++ b/src/Console.php @@ -478,7 +478,7 @@ public function prompt($prompt, array $options = null, $caseSensitive = false, $ * @param string $indent * @return Console */ - public function write($text, $indent = null) + public function write($text = null, $indent = null) { if ($this->width != 0) { $lines = (strlen($text) > $this->width) ?