instead of having this check in the loop, I'd moving outside of the loop

```
if (isset($data['geonameid'])) {
    $app['manipulator.user']->setGeonameId($user, $data[$property]);
}
foreach (   ) { // .... }
```