Syntax error fix for composer