title: Unable to resolve valid table in PhpStorm
body: <p>I'm getting <code>unable to resolve table</code> errors appear in php files containing SQL querying valid tables.</p>
  
  <p><a href="https://i.stack.imgur.com/DRpVc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DRpVc.png" alt="enter image description here"></a></p>
  
  <p>If I <kbd>Ctrl + Enter</kbd> over the query, then I get expected results in the DB console, and if I expand the database in the DB explorer tab then I can see the tables.</p>
  
  <p>It's not affecting code execution, but it's annoying because it catches my eye when writing code, and it masks real SQL errors.</p>
  
  <p>I've tried refreshing the database connection, and I've verified that the php tab is connecting to the correct database.</p>