From time to time PHPStorm’s code completion stops working correctly (v 7.1.x). You’ll get no more hints and error positions will keep their marking although you fixed them.
The solution in to run “File -> Invalidate Caches / Restart …“. After that, the IDE restarts and everything will work great again.