@@ -42,9 +42,9 @@ |
||
42 | 42 | return new Response(app()['view']->make('errors.503'), 503); |
43 | 43 | } |
44 | 44 | |
45 | - if(config('maintenance')){ |
|
45 | + if (config('maintenance')) { |
|
46 | 46 | return response(config('maintenance')["response"], config('maintenance')["httpCode"]); |
47 | - }else{ |
|
47 | + } else { |
|
48 | 48 | return app()->abort(503, 'The application is down for maintenance.'); |
49 | 49 | } |
50 | 50 | } |