@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | public function boot() |
16 | 16 | { |
17 | - view()->composer('*', function () { |
|
17 | + view()->composer('*', function() { |
|
18 | 18 | Form::component('bsInput', 'components.form.input', |
19 | 19 | ['name', 'options' => []] |
20 | 20 | ); |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | GameMod::create($request->all()); |
55 | 55 | |
56 | 56 | return redirect()->route('admin.games.index') |
57 | - ->with('success','Game mod created successfully'); |
|
57 | + ->with('success', 'Game mod created successfully'); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | $gameMod->update($request->all()); |
81 | 81 | |
82 | 82 | return redirect()->route('admin.games.edit', ['game' => $gameMod->game_code]) |
83 | - ->with('success','Game Mod updated successfully'); |
|
83 | + ->with('success', 'Game Mod updated successfully'); |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | /** |
@@ -93,6 +93,6 @@ discard block |
||
93 | 93 | { |
94 | 94 | $gameMod->delete(); |
95 | 95 | return redirect()->route('admin.games.index') |
96 | - ->with('success','Game Mod deleted successfully'); |
|
96 | + ->with('success', 'Game Mod deleted successfully'); |
|
97 | 97 | } |
98 | 98 | } |
99 | 99 | \ No newline at end of file |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | */ |
37 | 37 | public function index() |
38 | 38 | { |
39 | - return view('admin.users.list',[ |
|
39 | + return view('admin.users.list', [ |
|
40 | 40 | 'users' => $this->repository->getAll() |
41 | 41 | ]); |
42 | 42 | } |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | $this->repository->store($request->all()); |
65 | 65 | |
66 | 66 | return redirect()->route('admin.users.index') |
67 | - ->with('success','User created successfully'); |
|
67 | + ->with('success', 'User created successfully'); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
@@ -118,6 +118,6 @@ discard block |
||
118 | 118 | { |
119 | 119 | $user->delete(); |
120 | 120 | return redirect()->route('admin.users.index') |
121 | - ->with('success','User deleted successfully'); |
|
121 | + ->with('success', 'User deleted successfully'); |
|
122 | 122 | } |
123 | 123 | } |
124 | 124 | \ No newline at end of file |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | $addInstallTask = false; |
40 | 40 | if (isset($attributes['install'])) { |
41 | - $attributes['installed'] = ! $attributes['install']; |
|
41 | + $attributes['installed'] = !$attributes['install']; |
|
42 | 42 | $addInstallTask = true; |
43 | 43 | |
44 | 44 | unset($attributes['install']); |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | { |
89 | 89 | return $this->model->select(['id', 'name', 'server_ip', 'server_port', 'game_id', 'game_mod_id']) |
90 | 90 | ->with(['game' => function($query) { |
91 | - $query->select('code','name'); |
|
91 | + $query->select('code', 'name'); |
|
92 | 92 | }]) |
93 | 93 | ->where('name', 'LIKE', '%' . $query . '%') |
94 | 94 | ->get(); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | public function index() |
36 | 36 | { |
37 | - return view('servers.list',[ |
|
37 | + return view('servers.list', [ |
|
38 | 38 | 'servers' => $this->repository->getServersForAuth() |
39 | 39 | ]); |
40 | 40 | } |
@@ -32,6 +32,6 @@ |
||
32 | 32 | Auth::user()->update($request->only('password')); |
33 | 33 | |
34 | 34 | return redirect()->route('profile') |
35 | - ->with('success','Password changed successfully'); |
|
35 | + ->with('success', 'Password changed successfully'); |
|
36 | 36 | } |
37 | 37 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | public function destroy(DedicatedServer $dedicatedServer) |
64 | 64 | { |
65 | - if (! Storage::disk('local')->exists('gdaemon_certs/' . $dedicatedServer->gdaemon_server_cert)) { |
|
65 | + if (!Storage::disk('local')->exists('gdaemon_certs/' . $dedicatedServer->gdaemon_server_cert)) { |
|
66 | 66 | // TODO: Not working =( |
67 | 67 | // Storage::disk('local')->delete('gdaemon_certs/' . $dedicatedServer->gdaemon_server_cert); |
68 | 68 |