Skip to content

Commit

Permalink
[5.4] Make RequestGuard Macroable (#19569)
Browse files Browse the repository at this point in the history
* Create RequestGuard.php

use Illuminate\Support\Traits\Macroable;

* Update RequestGuard.php
  • Loading branch information
hezhiying authored and taylorotwell committed Jun 12, 2017
1 parent 71c77c3 commit 11fe874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Illuminate/Auth/RequestGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 11fe874

Please sign in to comment.