For straight phalcon calls, the use of the stubs for IDE's works fine. I'm using PhpStorm, in which I have also installed the Phalcon autocomplete plugin. For a method chain of Model::query()->...->execute(), however, the result type is not recognized. In the case below: