Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error

前端 未结 15 800
广开言路
广开言路 2020-12-04 06:14

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

15条回答
  •  温柔的废话
    2020-12-04 06:46

    use Illuminate\Support\Facades\Route;
    

    Warning Disappeared after importing the corresponding namespace.

    Version's

    • Larvel 6+
    • vscode version 1.40.2
    • php intelephense 1.3.1

提交回复
热议问题