I'm using a framework called Qcube. before it was known for the name Qcodo. It has this feature called codegen where it generated model for all of your database table including their relations if any. The problem is that its generated files have syntax errors. I can't find any solutions after searching in google.
here is the error message:
Parse error: syntax error, unexpected ')' in C:\Program Files (x86)\Ampps\www\osnet\includes\model\generated\EmployeeGen.class.php on line 967
and here is the line that the error is pointing.
$objToReturn = Employee::QuerySingle(
QQ::AndCondition(
QQ::Equal(QQN::Employee()->Id, $intId),
),
$objOptionalClauses
);
P.S.
I know what caused the syntax error, but to clear things the line of code the has the syntax error is "generated" by the codegen function of the framework and not hardcoded by me. and I can't just edit the generated files, because there are as of now 58 tables and each table has its gen file and each gen file has atleast 10 errors like that and on top of that I need to re-genrate the files when I ad a new database table.
Hope there is someone out there who can help.