Skip to content

Commit d51ae5e

Browse files
authored
Apply fixes from StyleCI (pterodactyl#332)
1 parent cbbd370 commit d51ae5e

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

app/Http/Controllers/Admin/ServersController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public function viewDelete(Request $request, $id)
247247
*/
248248
public function setDetails(Request $request, $id)
249249
{
250-
$repo = new ServerRepository;;
250+
$repo = new ServerRepository;
251251
try {
252252
$repo->updateDetails($id, $request->intersect([
253253
'owner_id', 'name', 'reset_token',

app/Http/Routes/AdminRoutes.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ public function map(Router $router)
217217
'as' => 'admin.servers.view.delete.cancel',
218218
'uses' => 'Admin\ServersController@cancelDeletion',
219219
]);
220-
221220
});
222221

223222
// Node Routes

app/Observers/ServerObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function updating(Server $server)
140140
*/
141141
public function updated(Server $server)
142142
{
143-
/**
143+
/*
144144
* The cached byUuid model calls are tagged with Model:Server:byUuid:<uuid>
145145
* so that they can be accessed regardless of if there is an Auth::user()
146146
* defined or not.

0 commit comments

Comments
 (0)