diff --git a/src/Commands/Create.php b/src/Commands/Create.php index 8a9ecf3..be8c997 100644 --- a/src/Commands/Create.php +++ b/src/Commands/Create.php @@ -52,7 +52,7 @@ public function handle() private function getSnapshotName(): string { - if (!is_null($this->option('connection')) && is_null($this->argument('name'))) { + if (! is_null($this->option('connection')) && is_null($this->argument('name'))) { return $this->option('connection'). "_". Carbon::now()->format('Y-m-d_H-i-s'); }