fix exception
This commit is contained in:
parent
7335647a2f
commit
3f15b1a2d8
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ class FOQElasticaExtension extends Extension
|
|||
protected function loadTypeDoctrineIntegration(array $typeConfig, ContainerBuilder $container, Definition $typeDef, $indexName, $typeName)
|
||||
{
|
||||
if (!in_array($typeConfig['driver'], $this->supportedProviderDrivers)) {
|
||||
throw new InvalidArgumentException(sprintf('The provider driver "%s" is not supported'));
|
||||
throw new InvalidArgumentException(sprintf('The provider driver "%s" is not supported', $typeConfig['driver']));
|
||||
}
|
||||
$this->loadDoctrineDriver($container, $typeConfig['driver']);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue