After the latest update of PHP Intelephense that I get today, the intelephense keep showing an error for an undefined symbol for my route (and other class too), there is no
1.3.1 fixed it.
Just update your extension and you should be good to go