That line looks ok to me. Maybe the error is in the line before, like a missing bracket or semicolon?