Test Failed
Pull Request — master (#1197)
by
unknown
08:52
created
src/LfmStorageRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         $config = $this->disk->getConfig();
47 47
 
48
-        if (key_exists('driver', $config) && $config['driver'] == 's3') {
48
+        if (key_exists('driver', $config) && $config[ 'driver' ] == 's3') {
49 49
             $duration = $this->helper->config('temporary_url_duration');
50 50
             return $this->disk->temporaryUrl($path, now()->addMinutes($duration));
51 51
         } else {
Please login to merge, or discard this patch.
src/Controllers/DownloadController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
         $disk = Storage::disk($this->helper->config('disk'));
19 19
         $config = $disk->getConfig();
20 20
 
21
-        if (key_exists('driver', $config) && $config['driver'] == 's3') {
21
+        if (key_exists('driver', $config) && $config[ 'driver' ] == 's3') {
22 22
             $duration = $this->helper->config('temporary_url_duration');
23
-            return response()->streamDownload(function () {
23
+            return response()->streamDownload(function() {
24 24
                     echo file_get_contents($disk->temporaryUrl($file->path('storage'), now()->addMinutes($duration)));
25 25
                 }, $file_name);
26 26
         } else {
Please login to merge, or discard this patch.