$entityConfig of type array<mixed,string[]> is incompatible with the type string[] expected by parameter $entityConfig of Mdiyakov\DoctrineSolrBun...\Indexer::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
50
$result = new Indexer($updateQuery, $schema, /** @scrutinizer ignore-type */ $entityConfig);
Loading history...
51
break;
52
}
53
54
if (!$result) {
55
throw new EntityNotIndexedException(
56
sprintf('"%s" or parents is not indexed. Check config.yml', $entityClass)