Exercise/FOQElasticaBundle — comment on commit a81d878d93e50c576d1325ed0d7896231758e070
File: Transformer/ModelToElasticaAutoTransformer.php line 54
By stof:

yeah, but please don't do the normalization twice:

```php
normalizeValue($object->$getter())) {
$array[$key] =$value;
}
```

Btw, your own code is confusing: due to the operator precedence, ``$value`` is a boolean with the result of the ``!==`` check. My code above fixes it by having a meaningful value (switching to the yoda condition is the best way as it fixes the CS at the same time but you could also do it by adding braces)