Troubleshooting "[Syntax Error] Expected PlainValue, got ')'"

It was a silly mistake, the error string was not very helpful as it pointed to the line i showed in my question as the line that the error was on. The fact was that this entity was extending a parent object, the parent had the @Entity tag but the child did not, i moved it and everything works fine.


For people who have come here but not because of doctrine, my mistake was using single quotes instead of double quotes in the @Routes annotation.

WRONG:

/**
* @Route('/home')
*/

RIGHT

/**
* @Route("/home")
*/