ruflin/Elastica — pull request #211 by christeredvartsen (2012-07-06 15:11:57+00:00)
Title: Support array values

Consider the following example:

```php
query()
->fieldOpen('terms')
->field('category.id', array(1, 2, 3))
->fieldClose()
->queryClose();

echo json_encode($builder->toArray());
```

outputs:

```
{"query":{"terms":{"category.id":"Array"}}}
```

after the fix in this PR the output is:

```
{"query":{"terms":{"category.id":[1,2,3]}}}
```