Apply fixes from StyleCI
This commit is contained in:
parent
e91362eee6
commit
a5aa089d66
4 changed files with 5 additions and 5 deletions
|
@ -121,7 +121,7 @@ class UserController extends Controller
|
|||
'password',
|
||||
'name_first',
|
||||
'name_last',
|
||||
'username'
|
||||
'username',
|
||||
]));
|
||||
Alert::success('Account has been successfully created.')->flash();
|
||||
|
||||
|
|
|
@ -76,5 +76,4 @@ class ServiceController extends Controller
|
|||
|
||||
return response()->file(storage_path('app/services/' . $service . '/' . $file));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Pterodactyl - Panel
|
||||
* Copyright (c) 2015 - 2016 Dane Everitt <dane@daneeveritt.com>
|
||||
* Copyright (c) 2015 - 2016 Dane Everitt <dane@daneeveritt.com>.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -26,7 +26,8 @@ namespace Pterodactyl\Http\Routes;
|
|||
|
||||
use Illuminate\Routing\Router;
|
||||
|
||||
class DaemonRoutes {
|
||||
class DaemonRoutes
|
||||
{
|
||||
public function map(Router $router)
|
||||
{
|
||||
$router->group(['prefix' => 'daemon'], function () use ($router) {
|
||||
|
|
|
@ -22,7 +22,7 @@ class AddMoreUserData extends Migration
|
|||
});
|
||||
|
||||
DB::transaction(function () {
|
||||
foreach(User::all() as &$user) {
|
||||
foreach (User::all() as &$user) {
|
||||
$user->username = $user->email;
|
||||
$user->save();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue