@@ -31,7 +31,7 @@ |
||
| 31 | 31 | $backupJob->dontBackupDatabases(); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - if (! empty($this->option)) { |
|
| 34 | + if (!empty($this->option)) { |
|
| 35 | 35 | $prefix = str_replace('_', '-', $this->option).'-'; |
| 36 | 36 | |
| 37 | 37 | $backupJob->setFilename($prefix.date('Y-m-d-H-i-s').'.zip'); |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | return $backup->path() === $validated['path']; |
| 26 | 26 | }); |
| 27 | 27 | |
| 28 | - if (! $backup) { |
|
| 28 | + if (!$backup) { |
|
| 29 | 29 | return response('Backup not found', Response::HTTP_UNPROCESSABLE_ENTITY); |
| 30 | 30 | } |
| 31 | 31 | |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | { |
| 69 | 69 | $publishedPath = public_path('vendor/laravel_backup_panel/mix-manifest.json'); |
| 70 | 70 | |
| 71 | - if (! File::exists($publishedPath)) { |
|
| 71 | + if (!File::exists($publishedPath)) { |
|
| 72 | 72 | throw new RuntimeException('Laravel Backup Panel assets are not published. Please run: php artisan vendor:publish --tag=laravel-backup-panel-assets --force'); |
| 73 | 73 | } |
| 74 | 74 | |