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();
} }