VScode - undefined 'getVar' method in version 4.1.2 |
This is because of the incomplete interface dependence CI4 has. It is typehinted to the interfaces but those interfaces clearly do not have the methods being called as those methods are defined in the implementing classes. You can safely ignore those intelephense errors for now.
For the Kint error, the CodeIgniter class has a custom autoloader for Kint, which class alias `Kint\Kint` as only `Kint`. Since intelephense indexes based on the vendor/autoload.php, it doesn't understand the `Kint` alias. Ignore for now, please. |
Messages In This Thread |
VScode - undefined 'getVar' method in version 4.1.2 - by wdeda - 05-22-2021, 10:56 AM
RE: VScode - undefined 'getVar' method in version 4.1.2 - by MGatner - 05-23-2021, 05:05 AM
RE: VScode - undefined 'getVar' method in version 4.1.2 - by wdeda - 05-26-2021, 05:35 AM
RE: VScode - undefined 'getVar' method in version 4.1.2 - by wdeda - 05-26-2021, 10:25 PM
RE: VScode - undefined 'getVar' method in version 4.1.2 - by paulkd - 05-26-2021, 10:36 PM
RE: VScode - undefined 'getVar' method in version 4.1.2 - by wdeda - 05-27-2021, 05:28 AM
RE: VScode - undefined 'getVar' method in version 4.1.2 - by paulbalandan - 05-27-2021, 09:20 AM
RE: VScode - undefined 'getVar' method in version 4.1.2 - by wdeda - 05-27-2021, 10:46 AM
RE: VScode - undefined 'getVar' method in version 4.1.2 - by mlurie - 05-28-2021, 11:15 AM
|