Skip to content

Commit 24056c7

Browse files
Merge pull request #133 from TheDragonCode/4.x
Fixed output of extra information at startup
2 parents 7f2b1f6 + b96c61c commit 24056c7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/Notifications/Beautiful.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ public function task(string $description, Closure $task): void
3636
{
3737
if ($this->canSpeak()) {
3838
$this->components()->task($description, $task);
39+
40+
return;
3941
}
42+
43+
$task();
4044
}
4145

4246
public function twoColumn(string $first, string $second): void

src/Processors/Processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(
3939
protected Dispatcher $events,
4040
protected Sorter $sorter
4141
) {
42-
$this->notification->setOutput($this->output, $this->options->silent);
42+
$this->notification->setOutput($this->output, $this->options->mute);
4343
$this->repository->setConnection($this->options->connection);
4444
$this->migrator->setConnection($this->options->connection)->setOutput($this->output);
4545
}

src/Values/Options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Options extends DataTransferObject
2626

2727
public ?int $step = null;
2828

29-
public bool $silent = false;
29+
public bool $mute = false;
3030

3131
public function resolvePath(): self
3232
{

0 commit comments

Comments
 (0)