why not 

```php
if (NULL === $provider) {
  return array();
}
return $this->getGridFromConfigurationProviderAndRecord($provider, $record);
```
would be clearer...