Merge pull request #330 from tgabi333/patch-1

Remove unused parameter from ModelToElasticaAutoTransformer.php
This commit is contained in:
Jeremy Mikola 2013-07-04 13:11:03 -07:00
commit deb29233ba

View file

@ -76,7 +76,7 @@ class ModelToElasticaAutoTransformer implements ModelToElasticaTransformerInterf
/* $value is a nested document or object. Transform $value into
* an array of documents, respective the mapped properties.
*/
$document->add($key, $this->transformNested($value, $mapping['properties'], $document));
$document->add($key, $this->transformNested($value, $mapping['properties']));
continue;
}