Completed
Push — master ( fd3969...5d14d5 )
by Julien
09:12
created
app/Http/Controllers/BuildersController.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         try{
35 35
             $collection->insertOne($stat);
36
-        }catch (\Exception $e){
36
+        } catch (\Exception $e){
37 37
             return response()->json(['state' => false]);
38 38
         }
39 39
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
         try{
84 84
             $collection->updateOne(["email" => $request->email], $stat);
85
-        }catch (\Exception $e){
85
+        } catch (\Exception $e){
86 86
             return response()->json(['state' => false]);
87 87
         }
88 88
 
Please login to merge, or discard this patch.