Welcome Guest, Not a member yet? Register   Sign In
Visual Studio Code cannot detect CI4 functions
#2

Hi, I am using VS Code. `$this->request` is typehinted to the RequestInterface while `getPost()` is a method from the `IncomingRequest` class, an implementing class of the RequestInterface. There exists a discrepancy of calling a method not defined in the interface but on the concrete class. For now, we can do nothing on it solidly. I suggest you ignore those red lines for now, at least.
Reply


Messages In This Thread
RE: Visual Studio Code cannot detect CI4 functions - by paulbalandan - 10-06-2021, 06:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB