vs code can’t recognize hasApiToken method’s

Published

I’m using laravel sanctum authentication and when I call any method of sanctum package through laravel authentication, vscode can’t find them but when I call them through the User model vscode can find them all.

this image Explain everything image

anyway in both ways code runs correctly without any problem.

Source: Laravel

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq