Apply fixes from StyleCI (#332)
This commit is contained in:
parent
cbbd3704fe
commit
d51ae5ec23
3 changed files with 2 additions and 3 deletions
|
@ -247,7 +247,7 @@ class ServersController extends Controller
|
|||
*/
|
||||
public function setDetails(Request $request, $id)
|
||||
{
|
||||
$repo = new ServerRepository;;
|
||||
$repo = new ServerRepository;
|
||||
try {
|
||||
$repo->updateDetails($id, $request->intersect([
|
||||
'owner_id', 'name', 'reset_token',
|
||||
|
|
|
@ -217,7 +217,6 @@ class AdminRoutes
|
|||
'as' => 'admin.servers.view.delete.cancel',
|
||||
'uses' => 'Admin\ServersController@cancelDeletion',
|
||||
]);
|
||||
|
||||
});
|
||||
|
||||
// Node Routes
|
||||
|
|
|
@ -140,7 +140,7 @@ class ServerObserver
|
|||
*/
|
||||
public function updated(Server $server)
|
||||
{
|
||||
/**
|
||||
/*
|
||||
* The cached byUuid model calls are tagged with Model:Server:byUuid:<uuid>
|
||||
* so that they can be accessed regardless of if there is an Auth::user()
|
||||
* defined or not.
|
||||
|
|
Loading…
Reference in a new issue