The expression return self::findFirst(a...)->getApp()->getId()))) returns the type Phalcon\Mvc\Model which includes types incompatible with the type-hinted return Gewaer\Models\UserCompanyApps.
Loading history...
94
'conditions' => 'company_id = ?0 and apps_id = ?1',