Apply fixes from StyleCI (#332)

This commit is contained in:
Dane Everitt 2017-03-04 19:28:23 -05:00 committed by GitHub
parent cbbd3704fe
commit d51ae5ec23
3 changed files with 2 additions and 3 deletions

View file

@ -247,7 +247,7 @@ class ServersController extends Controller
*/ */
public function setDetails(Request $request, $id) public function setDetails(Request $request, $id)
{ {
$repo = new ServerRepository;; $repo = new ServerRepository;
try { try {
$repo->updateDetails($id, $request->intersect([ $repo->updateDetails($id, $request->intersect([
'owner_id', 'name', 'reset_token', 'owner_id', 'name', 'reset_token',

View file

@ -217,7 +217,6 @@ class AdminRoutes
'as' => 'admin.servers.view.delete.cancel', 'as' => 'admin.servers.view.delete.cancel',
'uses' => 'Admin\ServersController@cancelDeletion', 'uses' => 'Admin\ServersController@cancelDeletion',
]); ]);
}); });
// Node Routes // Node Routes

View file

@ -140,7 +140,7 @@ class ServerObserver
*/ */
public function updated(Server $server) public function updated(Server $server)
{ {
/** /*
* The cached byUuid model calls are tagged with Model:Server:byUuid:<uuid> * 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() * so that they can be accessed regardless of if there is an Auth::user()
* defined or not. * defined or not.