We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 881e62f commit 44b24f9Copy full SHA for 44b24f9
1 file changed
src/Console/Commands/AlertCreateCommand.php
@@ -45,20 +45,18 @@ class AlertCreateCommand extends GeneratorCommand implements PromptsForMissingIn
45
46
/**
47
* Execute the console command.
48
- *
49
- * @return void
50
*/
51
- public function handle(): void
+ public function handle(): bool
52
{
53
if (parent::handle() === false && ! $this->option('force')) {
54
- return;
+ return false;
55
}
56
57
- if ($this->withoutView()) {
58
+ if (!$this->withoutView()) {
+ $this->writeBladeView();
59
60
61
- $this->writeBladeView();
+ return true;
62
63
64
0 commit comments