Welcome Guest, Not a member yet? Register   Sign In
Telling Intelephense to ignore undefined property
#1

Hi guys,

I just noticed in the recent Intelephense updates that CI3 models get flagged as potential problems.

For example, the second line is flagged as "undefined property $this->messagesModel". What's the best way to tell it to ignore such errors?

PHP Code:
$this->load->model('Messages_model''messagesModel');
$this->messagesModel->some_fn(); 
Reply


Messages In This Thread
Telling Intelephense to ignore undefined property - by jetspeed - 01-05-2023, 12:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB