Welcome Guest, Not a member yet? Register   Sign In
VScode - undefined 'getVar' method in version 4.1.2
#9

(This post was last modified: 05-28-2021, 11:22 AM by mlurie.)

I found a solution on the PHP Intelephense GitHub page here: https://github.com/bmewburn/vscode-intel...ssues/1670.  Add the following code to your Base Controller:


PHP Code:
       /**
     * Instance of the main Request object added to prevent the
     * PHP Intelephense VS Code plug-in from falsely reporting
     * IncomingRequest class errors.
     *
     * @var HTTP\IncomingRequest
     */
    
protected $request
Reply


Messages In This Thread
RE: VScode - undefined 'getVar' method in version 4.1.2 - by mlurie - 05-28-2021, 11:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB