There should be a space between the `if` and the opening bracket `(`. Like this:
`if (is_array($areas))`