Update AbstractElasticaToModelTransformer.php