From d51ae5ec23be0036659436b090bee013d6dcd5d8 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 4 Mar 2017 19:28:23 -0500 Subject: [PATCH] Apply fixes from StyleCI (#332) --- app/Http/Controllers/Admin/ServersController.php | 2 +- app/Http/Routes/AdminRoutes.php | 1 - app/Observers/ServerObserver.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Admin/ServersController.php b/app/Http/Controllers/Admin/ServersController.php index 000d5c830..c20a6de41 100644 --- a/app/Http/Controllers/Admin/ServersController.php +++ b/app/Http/Controllers/Admin/ServersController.php @@ -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', diff --git a/app/Http/Routes/AdminRoutes.php b/app/Http/Routes/AdminRoutes.php index 6cdc18e4e..69e596a64 100644 --- a/app/Http/Routes/AdminRoutes.php +++ b/app/Http/Routes/AdminRoutes.php @@ -217,7 +217,6 @@ class AdminRoutes 'as' => 'admin.servers.view.delete.cancel', 'uses' => 'Admin\ServersController@cancelDeletion', ]); - }); // Node Routes diff --git a/app/Observers/ServerObserver.php b/app/Observers/ServerObserver.php index 554e86a82..92d1b8f9a 100644 --- a/app/Observers/ServerObserver.php +++ b/app/Observers/ServerObserver.php @@ -140,7 +140,7 @@ class ServerObserver */ public function updated(Server $server) { - /** + /* * The cached byUuid model calls are tagged with Model:Server:byUuid: * so that they can be accessed regardless of if there is an Auth::user() * defined or not.