@@ -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'); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | ->toArray(); |
51 | 51 | }); |
52 | 52 | |
53 | - if (! $this->activeDisk and count($this->backupStatuses)) { |
|
53 | + if (!$this->activeDisk and count($this->backupStatuses)) { |
|
54 | 54 | $this->activeDisk = $this->backupStatuses[0]['disk']; |
55 | 55 | } |
56 | 56 | |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | return $backup->path() === $filePath; |
133 | 133 | }); |
134 | 134 | |
135 | - if (! $backup) { |
|
135 | + if (!$backup) { |
|
136 | 136 | return response('Backup not found', Response::HTTP_UNPROCESSABLE_ENTITY); |
137 | 137 | } |
138 | 138 |
@@ -40,14 +40,14 @@ |
||
40 | 40 | ]); |
41 | 41 | } |
42 | 42 | |
43 | - if(config('laravel_backup_panel.routes') === true) { |
|
44 | - Route::group([ |
|
43 | + if(config('laravel_backup_panel.routes') === true) { |
|
44 | + Route::group([ |
|
45 | 45 | 'prefix' => config('laravel_backup_panel.path'), |
46 | 46 | 'middleware' => ['web', Authenticate::class], |
47 | 47 | ], function () { |
48 | 48 | $this->loadRoutesFrom(__DIR__.'/../routes/web.php'); |
49 | 49 | }); |
50 | - } |
|
50 | + } |
|
51 | 51 | |
52 | 52 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel_backup_panel'); |
53 | 53 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | ]); |
41 | 41 | } |
42 | 42 | |
43 | - if(config('laravel_backup_panel.routes') === true) { |
|
43 | + if (config('laravel_backup_panel.routes') === true) { |
|
44 | 44 | Route::group([ |
45 | 45 | 'prefix' => config('laravel_backup_panel.path'), |
46 | 46 | 'middleware' => ['web', Authenticate::class], |