We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | return view('backupmanager::livewire.backuptable'); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - public function create(): bool|string |
|
| 49 | + public function create(): bool | string |
|
| 50 | 50 | { |
| 51 | 51 | $command = config('backpack.backupmanager.artisan_command_on_button_click') ?? 'backup:run'; |
| 52 | 52 | |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | return true; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - public function download(int $index): StreamedResponse|string |
|
| 82 | + public function download(int $index): StreamedResponse | string |
|
| 83 | 83 | { |
| 84 | 84 | $backup = (object) $this->backups[$index]; |
| 85 | 85 | $disk = Storage::disk($backup->diskName); |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | return $disk->download($backup->fileName); |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - public function delete(int $index): bool|string |
|
| 102 | + public function delete(int $index): bool | string |
|
| 103 | 103 | { |
| 104 | 104 | $backup = (object) $this->backups[$index]; |
| 105 | 105 | $disk = Storage::disk($backup->diskName); |
@@ -14,6 +14,6 @@ |
||
| 14 | 14 | 'namespace' => 'Backpack\BackupManager\app\Http\Controllers', |
| 15 | 15 | 'prefix' => config('backpack.base.route_prefix', 'admin'), |
| 16 | 16 | 'middleware' => ['web', config('backpack.base.middleware_key', 'admin')], |
| 17 | -], function () { |
|
| 17 | +], function() { |
|
| 18 | 18 | Route::get('backup', 'BackupController@index')->name('backup.index'); |
| 19 | 19 | }); |