KnpLabs/knp-components — pull request #18 by krizon (2012-04-12 08:27:33+00:00)
Title: Fix: Array triggers error in SolariumQuerySubscriber

When given an array: array(1 => 'foo', 2 => 'bar') the following check triggers an error Undefined offset: 0:

```php
if (is_array($event->target) && 2 === count($event->target)) {
list($client, $query) = $event->target;
```

Added fix and unit test to this PR.