Welcome Guest, Not a member yet? Register   Sign In
Visual Studio Code PHP intellisense errors for request object
#1
Thumbs Down 
(This post was last modified: 04-10-2022, 07:15 AM by aswinkumar863.)

In Visual Studio Code editor with PHP code Intelephense extension installed, showing undefined method error in request object like attached image.

https://ibb.co/SncjR5L

BUT WORKS FINE WHILE RUNNING

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

https://github.com/codeigniter4/CodeIgni...er.php#L37


Also found the related issue in the response object from CURLRequest class.
Reply


Messages In This Thread
Visual Studio Code PHP intellisense errors for request object - by aswinkumar863 - 04-20-2021, 01:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB