From 11fe8749150a82d9d7112d1a4f0b1af1e542ccad Mon Sep 17 00:00:00 2001 From: zine <21418592@qq.com> Date: Tue, 13 Jun 2017 07:11:59 +0800 Subject: [PATCH] [5.4] Make RequestGuard Macroable (#19569) * Create RequestGuard.php use Illuminate\Support\Traits\Macroable; * Update RequestGuard.php --- src/Illuminate/Auth/RequestGuard.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Auth/RequestGuard.php b/src/Illuminate/Auth/RequestGuard.php index 30b3a1d77404..d1a18c0f65bf 100644 --- a/src/Illuminate/Auth/RequestGuard.php +++ b/src/Illuminate/Auth/RequestGuard.php @@ -4,10 +4,11 @@ use Illuminate\Http\Request; use Illuminate\Contracts\Auth\Guard; +use Illuminate\Support\Traits\Macroable; class RequestGuard implements Guard { - use GuardHelpers; + use GuardHelpers, Macroable; /** * The guard callback.