src/PassportServiceProvider.php
protected function deleteCookieOnLogout()
    {
        Event::listen(Logout::class, function () {
            if (Request::hasCookie(Passport::cookie())) {
                Cookie::queue(Cookie::forget(Passport::cookie()));
            }
        });
    }
protected function deleteCookieOnLogout()
    {
        Event::listen(Logout::class, function () {
            if (Request::hasCookie(Passport::cookie())) {
                Cookie::queue(Cookie::forget(Passport::cookie()));
            }
        });
    }
protected function deleteCookieOnLogout ( ) { Event :: listen ( Logout :: class , function ( ) { if ( Request :: hasCookie ( Passport :: cookie ( ) ) ) { Cookie :: queue ( Cookie :: forget ( Passport :: cookie ( ) ) ) ; } } ) ; }
Register the cookie deletion event handler.

@return void
Register the cookie deletion event handler .