Passed
Pull Request — 2.x (#704)
by Talv
08:50
created
src/Repositories/FileRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,10 +50,10 @@
 block discarded – undo
50 50
     {
51 51
             // if a disk has a root other than / set it'll be re-applied when calculating the file path so we need to strip it here...
52 52
             $diskName = config('twill.file_library.disk');
53
-            $diskConfig = config('filesystems.disks.'.$diskName);
53
+            $diskConfig = config('filesystems.disks.' . $diskName);
54 54
             $diskRoot = $diskConfig['root'] ?? false;
55 55
 
56
-            if($diskConfig['driver'] === 's3' && $diskRoot){
56
+            if ($diskConfig['driver'] === 's3' && $diskRoot) {
57 57
                 $fields['uuid'] = ltrim($fields['uuid'], $diskRoot);
58 58
             }
59 59
 
Please login to merge, or discard this patch.