Passed
Push — main ( 10149e...ccbeb2 )
by Thierry
05:38
created
app/Exceptions/Handler.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -80,12 +80,12 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function register()
82 82
     {
83
-        $this->reportable(function (Throwable $e) {
83
+        $this->reportable(function(Throwable $e) {
84 84
             //
85 85
         });
86 86
 
87 87
         // Redirect to the login page
88
-        $this->renderable(function (AuthenticationException $e) {
88
+        $this->renderable(function(AuthenticationException $e) {
89 89
             $jaxon = app()->make(Jaxon::class);
90 90
             $ajaxResponse = $jaxon->ajaxResponse();
91 91
             $ajaxResponse->redirect(route('login'));
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         });
95 95
 
96 96
         // Show the error message in a dialog
97
-        $this->renderable(function (MessageException $e) {
97
+        $this->renderable(function(MessageException $e) {
98 98
             $jaxon = app()->make(Jaxon::class);
99 99
             $ajaxResponse = $jaxon->ajaxResponse();
100 100
             $ajaxResponse->dialog->error($e->getMessage(), trans('common.titles.error'));
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
         });
104 104
 
105 105
         // Show the warning message in a dialog, and show the sessions page.
106
-        $this->renderable(function (PlanningRoundException $e) {
106
+        $this->renderable(function(PlanningRoundException $e) {
107 107
             $this->getCallableObject(Round::class)->home();
108 108
 
109 109
             $jaxon = app()->make(Jaxon::class);
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         });
115 115
 
116 116
         // Show the warning message in a dialog, and show the pools page.
117
-        $this->renderable(function (PlanningPoolException $e) {
117
+        $this->renderable(function(PlanningPoolException $e) {
118 118
             $this->getCallableObject(Pool::class)->home();
119 119
 
120 120
             $jaxon = app()->make(Jaxon::class);
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         });
126 126
 
127 127
         // Show the warning message in a dialog, and show the members page.
128
-        $this->renderable(function (TontineMemberException $e) {
128
+        $this->renderable(function(TontineMemberException $e) {
129 129
             $this->getCallableObject(Member::class)->home();
130 130
 
131 131
             $jaxon = app()->make(Jaxon::class);
Please login to merge, or discard this patch.