chore(deps-dev): Bump vimeo/psalm from 3.7.2 to 3.9.4 (#3664)

This commit is contained in:
dependabot-preview[bot]
2020-03-08 23:21:50 +01:00
committed by GitHub
parent e5f5108d53
commit 00f0cc12ec
29 changed files with 199 additions and 91 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
namespace App\Jobs;
use Illuminate\Http\File;
use App\Helpers\StorageHelper;
use Illuminate\Support\Facades\Auth;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Storage;
@@ -48,7 +49,7 @@ class ExportAccountAsSQL
$tempFilePath = disk_adapter('local')->getPathPrefix().$tempFileName;
// move the file to the public storage
return Storage::disk(self::STORAGE)
return StorageHelper::disk(self::STORAGE)
->putFileAs($this->path, new File($tempFilePath), basename($tempFileName));
} finally {
// delete old file from temp folder