Passed
Push — master ( fa194f...476270 )
by Curtis
10:11 queued 04:43
created
app/Http/Controllers/Gedcom/Store.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@
 block discarded – undo
24 24
         $slug = $request->get('slug');
25 25
         if ($request->hasFile('file')) {
26 26
             if ($request->file('file')->isValid()) {
27
-                try{
27
+                try {
28 28
                     $request->file->storeAs('gedcom', 'file.ged');
29 29
                     $parser = new GedcomParser();
30 30
                     $parser->parse($request->file('file'), $slug, true);
31 31
                     return ['File uploaded'];
32
-                }catch(Exception $e){
32
+                } catch (Exception $e) {
33 33
                     return ['Not uploaded'];
34 34
                 }
35 35
             }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
                     $parser = new GedcomParser();
30 30
                     $parser->parse($request->file('file'), $slug, true);
31 31
                     return ['File uploaded'];
32
-                }catch(Exception $e){
32
+                } catch(Exception $e){
33 33
                     return ['Not uploaded'];
34 34
                 }
35 35
             }
Please login to merge, or discard this patch.