Definition going to wrong directory

I’m not sure if this is a Yii2 issue or a VS Code issue.

I had a yii2 project that I duplicated. I change the necessary config files and project 2 is functional. However, when I’m coding and click to go to the definition of a property/method/… it keeps trying to go to project 1 folder rather than the project 2 folder and thus spits out an error.

Would anyone know what I’ve missed, why VS Code is doing this?