add space after foreach before and after open/close parenthesis.