From 5d9b0cb98096012866d41f31a3cf410eef8ca4f9 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 16 May 2022 19:50:13 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Commands/HydeMakePageCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/HydeMakePageCommand.php b/src/Commands/HydeMakePageCommand.php index 92318c9c..b9fa09c4 100644 --- a/src/Commands/HydeMakePageCommand.php +++ b/src/Commands/HydeMakePageCommand.php @@ -59,7 +59,7 @@ public function handle(): int { $this->title('Creating a new page!'); - $this->title = $this->argument('title') + $this->title = $this->argument('title') ?? $this->ask('What is the title of the page?') ?? 'My New Page';