Code Duplication    Length = 11-11 lines in 2 locations

src/Http/Middleware/Authenticate.php 1 location

@@ 60-70 (lines=11) @@
57
     * @param ResponseFactory $response
58
     * @param UserSecurity    $security
59
     */
60
    public function __construct(
61
        Guard $guard,
62
        Redirector $redirect,
63
        ResponseFactory $response,
64
        UserSecurity $security
65
    ) {
66
        $this->guard    = $guard;
67
        $this->redirect = $redirect;
68
        $this->response = $response;
69
        $this->security = $security;
70
    }
71
72
    /**
73
     * Handle an incoming request.

src/Http/Middleware/CheckSecurity.php 1 location

@@ 60-70 (lines=11) @@
57
     * @param ResponseFactory $response
58
     * @param UserSecurity    $security
59
     */
60
    public function __construct(
61
        Guard $guard,
62
        Redirector $redirect,
63
        ResponseFactory $response,
64
        UserSecurity $security
65
    ) {
66
        $this->guard    = $guard;
67
        $this->redirect = $redirect;
68
        $this->response = $response;
69
        $this->security = $security;
70
    }
71
72
    /**
73
     * Handle an incoming request.