1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 04:12:28 +01:00

Apply fixes from StyleCI

This commit is contained in:
Dane Everitt 2017-01-12 20:48:12 +00:00 committed by StyleCI Bot
parent e91362eee6
commit a5aa089d66
4 changed files with 5 additions and 5 deletions

View File

@ -121,7 +121,7 @@ class UserController extends Controller
'password', 'password',
'name_first', 'name_first',
'name_last', 'name_last',
'username' 'username',
])); ]));
Alert::success('Account has been successfully created.')->flash(); Alert::success('Account has been successfully created.')->flash();

View File

@ -76,5 +76,4 @@ class ServiceController extends Controller
return response()->file(storage_path('app/services/' . $service . '/' . $file)); return response()->file(storage_path('app/services/' . $service . '/' . $file));
} }
} }

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* Pterodactyl - Panel * 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 * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -26,7 +26,8 @@ namespace Pterodactyl\Http\Routes;
use Illuminate\Routing\Router; use Illuminate\Routing\Router;
class DaemonRoutes { class DaemonRoutes
{
public function map(Router $router) public function map(Router $router)
{ {
$router->group(['prefix' => 'daemon'], function () use ($router) { $router->group(['prefix' => 'daemon'], function () use ($router) {

View File

@ -22,7 +22,7 @@ class AddMoreUserData extends Migration
}); });
DB::transaction(function () { DB::transaction(function () {
foreach(User::all() as &$user) { foreach (User::all() as &$user) {
$user->username = $user->email; $user->username = $user->email;
$user->save(); $user->save();
} }