@@ -80,6 +80,9 @@ |
||
80 | 80 | return $this->media; |
81 | 81 | } |
82 | 82 | |
83 | + /** |
|
84 | + * @param string $localSourcePath |
|
85 | + */ |
|
83 | 86 | protected function moveSavedFileToRemoteDisk($localSourcePath, File $fileOnRemoteDisk): bool |
84 | 87 | { |
85 | 88 | return $fileOnRemoteDisk->put($localSourcePath) && @unlink($localSourcePath); |