PhpStorm give error <join>, <reference> or '{' expected, got '\' with this query:
$phql = "SELECT Sites.*, Users.*, Operators.*, OperatorRights.* FROM \Core\Model\Sites as Sites
LEFT JOIN \Core\Model\Users as Users ON Sites.user_id = Users.id
LEFT JOIN \Core\Model\OperatorRights as OperatorRights ON Sites.id = OperatorRights.site_id
LEFT JOIN \Core\Model\Operators as Operators ON OperatorRights.operator_id = Operators.id
WHERE Sites.uid = :widget_id:";
How to fix this?
/phalcon-tools/ide/stubs/Phalcon already installed Thanks.