@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | public function index() |
| 39 | 39 | { |
| 40 | - return view('admin.servers.list',[ |
|
| 40 | + return view('admin.servers.list', [ |
|
| 41 | 41 | 'servers' => $this->repository->getAll() |
| 42 | 42 | ]); |
| 43 | 43 | } |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | $this->repository->store($request->all()); |
| 67 | 67 | |
| 68 | 68 | return redirect()->route('admin.servers.index') |
| 69 | - ->with('success','Game server created successfully'); |
|
| 69 | + ->with('success', 'Game server created successfully'); |
|
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | $server->update($request->all()); |
| 106 | 106 | |
| 107 | 107 | return redirect()->route('admin.servers.index') |
| 108 | - ->with('success','Game server updated successfully'); |
|
| 108 | + ->with('success', 'Game server updated successfully'); |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | /** |
@@ -118,6 +118,6 @@ discard block |
||
| 118 | 118 | { |
| 119 | 119 | $server->delete(); |
| 120 | 120 | return redirect()->route('admin.servers.index') |
| 121 | - ->with('success','Game server deleted successfully'); |
|
| 121 | + ->with('success', 'Game server deleted successfully'); |
|
| 122 | 122 | } |
| 123 | 123 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected function commands() |
| 37 | 37 | { |
| 38 | - $this->load(__DIR__.'/Commands'); |
|
| 38 | + $this->load(__DIR__ . '/Commands'); |
|
| 39 | 39 | |
| 40 | 40 | require base_path('routes/console.php'); |
| 41 | 41 | } |
@@ -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 |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | |
| 38 | 38 | $addInstallTask = false; |
| 39 | 39 | if (isset($attributes['install'])) { |
| 40 | - $attributes['installed'] = ! $attributes['install']; |
|
| 40 | + $attributes['installed'] = !$attributes['install']; |
|
| 41 | 41 | $addInstallTask = true; |
| 42 | 42 | |
| 43 | 43 | unset($attributes['install']); |
@@ -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 |