Skip to content

Commit 6c72d6e

Browse files
committed
Move a trait of trait into class
Summary: This is a wordaround to get solve phpdox issue, see theseer/phpdox#243. Test Plan: `phpunit && phpdox` Reviewers: dereckson Differential Revision: https://devcentral.nasqueron.org/D517
1 parent 669e855 commit 6c72d6e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Http/Controllers/Auth/PasswordController.php

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
use AuthGrove\Http\Controllers\Controller;
66
use AuthGrove\Services\ResetsPasswords;
77

8+
use Illuminate\Foundation\Auth\RedirectsUsers;
9+
810
class PasswordController extends Controller
911
{
1012
/*
@@ -18,6 +20,7 @@ class PasswordController extends Controller
1820
|
1921
*/
2022

23+
use RedirectsUsers;
2124
use ResetsPasswords;
2225

2326
/**

app/Services/ResetsPasswords.php

-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@
88
use Illuminate\Contracts\Auth\CanResetPassword;
99
use Illuminate\Support\Facades\Auth;
1010
use Illuminate\Support\Facades\Password;
11-
use Illuminate\Foundation\Auth\RedirectsUsers;
1211

1312
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
1413

1514
trait ResetsPasswords {
1615

17-
use RedirectsUsers;
18-
1916
///
2017
/// GET and POST routes
2118
///

0 commit comments

Comments
 (0)