Hey!
Nothing to worry about. Your IDE is just not able to find the method event though it's there.
You can also try to logout using the Auth Facade directly like this:
\Auth::logout();
There are a few occurrences where magic methods can not be resolved eg. when they are behind Facades or likewise.
renaldyks liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community