0

Method not found

dear all,

i am using an array to store several db connections inside, so at many lines i use this in my code:

$ret =  $this->db[$this->mode]['produkte']->sql_query("SELECT....");


of course phpstorm always says Method sql_query not found.

is there any way to let phpstorm know that this array $this->db is from class "db" ?
i know its working at other situations with special comments, but in this case i don´t know.

thanks for any help!

regards,
micha

2 comments

Please sign in to leave a comment.