The bracket needs to be in the same line as foreach