Use the same formatting for Auth controllers as is used by the other ones

This commit is contained in:
Kevin MacMartin 2018-04-22 22:37:09 -04:00
parent a4a686662f
commit 1d31bc693c
4 changed files with 16 additions and 20 deletions

View file

@ -1,12 +1,10 @@
<?php
namespace App\Http\Controllers\Auth;
<?php namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
class ForgotPasswordController extends Controller {
/*
|--------------------------------------------------------------------------
| Password Reset Controller
@ -29,4 +27,5 @@ class ForgotPasswordController extends Controller
{
$this->middleware('guest');
}
}

View file

@ -1,12 +1,10 @@
<?php
namespace App\Http\Controllers\Auth;
<?php namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
class LoginController extends Controller {
/*
|--------------------------------------------------------------------------
| Login Controller
@ -36,4 +34,5 @@ class LoginController extends Controller
{
$this->middleware('guest')->except('logout');
}
}

View file

@ -1,6 +1,4 @@
<?php
namespace App\Http\Controllers\Auth;
<?php namespace App\Http\Controllers\Auth;
use App\User;
use App\Http\Controllers\Controller;
@ -8,8 +6,8 @@ use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
class RegisterController extends Controller {
/*
|--------------------------------------------------------------------------
| Register Controller
@ -86,4 +84,5 @@ class RegisterController extends Controller
header('Location: /login');
}
}
}

View file

@ -1,12 +1,10 @@
<?php
namespace App\Http\Controllers\Auth;
<?php namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class ResetPasswordController extends Controller
{
class ResetPasswordController extends Controller {
/*
|--------------------------------------------------------------------------
| Password Reset Controller
@ -36,4 +34,5 @@ class ResetPasswordController extends Controller
{
$this->middleware('guest');
}
}