Class 'Tag' is considered undefined
In my project i have a model class called 'Tag'. It's located at the 'app' folder, as all other models as well and imported just like the other models. PhpStorm keeps telling me that this class is undefined. Is this a reserved class name or something in PhpStorm since all other models don't cause this issue?
Please sign in to leave a comment.
No, it's not.
First of all, please check if
File | Invalidate Caches | Invalidate and Restarthelps.If it doesn't, try closing the project and removing the
.ideafolder from it (you might want to back it up beforehand).Any luck?