Completed
Push — master ( 7aa452...fa194f )
by Curtis
49s queued 11s
created
app/Http/Controllers/Gedcom/Store.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@
 block discarded – undo
23 23
     {        
24 24
         if ($request->hasFile('file')) {
25 25
             if ($request->file('file')->isValid()) {
26
-                try{
26
+                try {
27 27
                     $request->file->storeAs('gedcom', 'file.ged');
28 28
                     $parser = new GedcomParser();
29 29
                     $parser->parse($request->file('file'), true);
30 30
 
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->parse($request->file('file'), true);
30 30
 
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.