Skip to content

Commit fcba1af

Browse files
committed
Default complete/fail messages to empty strings
1 parent 91c77de commit fcba1af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MonitoredCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ protected function hasRunTooManyTimes()
182182
* @param string $message
183183
* @return bool
184184
*/
185-
protected function complete($message = null)
185+
protected function complete($message = '')
186186
{
187187
$this->output->success($message);
188188
$this->commandRecord()->complete($message);
@@ -196,7 +196,7 @@ protected function complete($message = null)
196196
* @param string $message
197197
* @return bool
198198
*/
199-
protected function fail($message = null)
199+
protected function fail($message = '')
200200
{
201201
$this->output->error($message);
202202
$this->commandRecord()->fail($message);

0 commit comments

Comments
 (0)