From eee19513c211f4dc7dc808426b8890fd457117d7 Mon Sep 17 00:00:00 2001 From: Nick Sagona Date: Mon, 14 Sep 2015 20:43:02 -0500 Subject: [PATCH] Allow $text param to be null for write() --- src/Console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ?