PHPStorm, add comment like: /** @var PDO $dbConnection */ Book traversal links for Defining included variables ‹ Code standards Up Edit font size ›