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? 

0
1 comment

Is this a reserved class name or something in PhpStorm since all other models don't cause this issue?

No, it's not.

First of all, please check if File | Invalidate Caches | Invalidate and Restart helps.
If it doesn't, try closing the project and removing the .idea folder from it (you might want to back it up beforehand).
Any luck?

0

Please sign in to leave a comment.