Skip to content

Commit caa166f

Browse files
committed
Remove middleware interface.
1 parent df6fa97 commit caa166f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: app/Http/Middleware/Authenticate.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
use Closure;
44
use Illuminate\Contracts\Auth\Guard;
5-
use Illuminate\Contracts\Routing\Middleware;
65

7-
class Authenticate implements Middleware {
6+
class Authenticate {
87

98
/**
109
* The Guard implementation.

Diff for: app/Http/Middleware/RedirectIfAuthenticated.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
use Closure;
44
use Illuminate\Contracts\Auth\Guard;
55
use Illuminate\Http\RedirectResponse;
6-
use Illuminate\Contracts\Routing\Middleware;
76

8-
class RedirectIfAuthenticated implements Middleware {
7+
class RedirectIfAuthenticated {
98

109
/**
1110
* The Guard implementation.

0 commit comments

Comments
 (0)