CodeIgniter Forums

Full Version: Visual Studio Code PHP intellisense errors for request object
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In Visual Studio Code editor with PHP code Intelephense extension installed, showing undefined method error in request object like attached image.


I hope it would IncommingRequest instead of RequestInterface in doc blocks in the controller.php

Also found the related issue in the response object from [font=Tahoma, Verdana, Arial, sans-serif]CURLRequest class.[/font]
I have just started learning about CI4 and I was having the same issue. After installing this extension => "" I faced no more issues with that however I disabled the PHP Inteliphense and enabled the PHP IntelliSense in turn. I hope that helps.