@@ -34,8 +34,7 @@ |
||
34 | 34 | if(!($this->getPermission($folder) >= $permission)) |
35 | 35 | { |
36 | 36 | $this->addFileAndSetErrors($folder, $permission, false); |
37 | - } |
|
38 | - else { |
|
37 | + } else { |
|
39 | 38 | $this->addFile($folder, $permission, true); |
40 | 39 | } |
41 | 40 | } |
@@ -31,8 +31,7 @@ discard block |
||
31 | 31 | { |
32 | 32 | try{ |
33 | 33 | Artisan::call('migrate', ["--force"=> true ]); |
34 | - } |
|
35 | - catch(Exception $e){ |
|
34 | + } catch(Exception $e){ |
|
36 | 35 | return $this->response($e->getMessage()); |
37 | 36 | } |
38 | 37 | |
@@ -48,8 +47,7 @@ discard block |
||
48 | 47 | { |
49 | 48 | try{ |
50 | 49 | Artisan::call('db:seed'); |
51 | - } |
|
52 | - catch(Exception $e){ |
|
50 | + } catch(Exception $e){ |
|
53 | 51 | return $this->response($e->getMessage()); |
54 | 52 | } |
55 | 53 |
@@ -135,7 +135,7 @@ |
||
135 | 135 | $mdfile = public_path("markdown/{$filename}"); |
136 | 136 | try { |
137 | 137 | file_put_contents($mdfile, $request->announce); |
138 | - } catch(Exception $e) { |
|
138 | + } catch(Exception $e) { |
|
139 | 139 | return $redirect->route('KleisInstaller::stepCustomization') |
140 | 140 | ->withInput(); |
141 | 141 | } |