@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function index(DedicatedServer $dedicatedServer) |
38 | 38 | { |
39 | - return QueryBuilder::for(GdaemonTask::where('dedicated_server_id', $dedicatedServer->id)) |
|
39 | + return QueryBuilder::for (GdaemonTask::where('dedicated_server_id', $dedicatedServer->id)) |
|
40 | 40 | ->allowedFilters('status') |
41 | 41 | ->allowedAppends('status_num') |
42 | 42 | ->get(); |
@@ -33,7 +33,7 @@ |
||
33 | 33 | */ |
34 | 34 | public function index() |
35 | 35 | { |
36 | - return view('admin.gdaemon_tasks.list',[ |
|
36 | + return view('admin.gdaemon_tasks.list', [ |
|
37 | 37 | 'gdaemonTasks' => $this->repository->getAll() |
38 | 38 | ]); |
39 | 39 | } |
@@ -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 | ); |
@@ -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 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function index() |
38 | 38 | { |
39 | - return view('admin.servers.list',[ |
|
39 | + return view('admin.servers.list', [ |
|
40 | 40 | 'servers' => $this->repository->getAll() |
41 | 41 | ]); |
42 | 42 | } |
@@ -36,7 +36,7 @@ |
||
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 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public function index() |
28 | 28 | { |
29 | - $latestVersion = Cache::remember('latestVersion', 3600, function () { |
|
29 | + $latestVersion = Cache::remember('latestVersion', 3600, function() { |
|
30 | 30 | return InfoService::latestRelease(); |
31 | 31 | }); |
32 | 32 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | } else { |
36 | 36 | // Fix. If client certificate exists in database but not exists certificates files. |
37 | 37 | // Delete invalid files. Generate new certificates. |
38 | - if (! Storage::exists($clientCertificate->certificate) || ! Storage::exists($clientCertificate->private_key)) { |
|
38 | + if (!Storage::exists($clientCertificate->certificate) || !Storage::exists($clientCertificate->private_key)) { |
|
39 | 39 | if (Storage::exists($clientCertificate->certificate)) { |
40 | 40 | Storage::delete($clientCertificate->certificate); |
41 | 41 | } |