The expression return self::findFirst(a...APP_ID, $name)))->value could return the type Phalcon\Mvc\Model\Resultset which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
79
3
'conditions'=>'apps_id = ?0 and name = ?1 and is_deleted = 0',