Completed
Push — master ( 145d00...c827fa )
by Song
06:07 queued 02:00
created
src/Form/Field/UploadField.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -135,12 +135,12 @@  discard block
 block discarded – undo
135 135
     public function disk($disk)
136 136
     {
137 137
 
138
-	try {
138
+    try {
139 139
 
140 140
             $this->storage = Storage::disk($disk);
141 141
 
142
-	} catch (\Exception $e) {
143
-	    if (!array_key_exists($disk, config('filesystems.disks'))) {
142
+    } catch (\Exception $e) {
143
+        if (!array_key_exists($disk, config('filesystems.disks'))) {
144 144
                 $error = new MessageBag([
145 145
                     'title'   => 'Config error.',
146 146
                     'message' => "Disk [$disk] not configured, please add a disk config in `config/filesystems.php`.",
@@ -149,8 +149,8 @@  discard block
 block discarded – undo
149 149
                 return session()->flash('error', $error);
150 150
             }
151 151
 
152
-	    throw $e;
153
-	}
152
+        throw $e;
153
+    }
154 154
 
155 155
         return $this;
156 156
     }
Please login to merge, or discard this patch.