mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -16,9 +16,9 @@ public function handle(): void
|
||||
{
|
||||
$this->info('Migrating from Mysql to SQLite...');
|
||||
|
||||
File::exists(storage_path('database.sqlite'))
|
||||
? File::delete(storage_path('database.sqlite'))
|
||||
: null;
|
||||
if (File::exists(storage_path('database.sqlite'))) {
|
||||
File::delete(storage_path('database.sqlite'));
|
||||
}
|
||||
|
||||
File::put(storage_path('database.sqlite'), '');
|
||||
|
||||
|
Reference in New Issue
Block a user