I\'m having trouble with PHPStorm. I just started new project created a couple of my own classes, in one of them I created PDO object.
$this->cnn = new PD
I've solved the issue. File > Invalidate Caches did the trick!
I had a problem with PHPStorm Code Analysis hanging up (never finishing) on certain files using certain classes. No errors were reported, but all code completion was not working in these problem files.
The solution was the same, File > Invalidate Caches.