Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/bundle/ApiLoader/BoostFactorProviderFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Ibexa\Bundle\Solr\ApiLoader;

use Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider;
use Ibexa\Contracts\Core\Container\ApiLoader\RepositoryConfigurationProviderInterface;
use Ibexa\Solr\FieldMapper\BoostFactorProvider;
use LogicException;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
Expand All @@ -20,10 +20,7 @@ class BoostFactorProviderFactory implements ContainerAwareInterface
{
use ContainerAwareTrait;

/**
* @var \Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider
*/
private $repositoryConfigurationProvider;
private RepositoryConfigurationProviderInterface $repositoryConfigurationProvider;

/**
* @var string
Expand All @@ -40,7 +37,7 @@ class BoostFactorProviderFactory implements ContainerAwareInterface
* @param string $boostFactorProviderClass
*/
public function __construct(
RepositoryConfigurationProvider $repositoryConfigurationProvider,
RepositoryConfigurationProviderInterface $repositoryConfigurationProvider,
$defaultConnection,
$boostFactorProviderClass
) {
Expand Down
9 changes: 3 additions & 6 deletions src/bundle/ApiLoader/IndexingDepthProviderFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Ibexa\Bundle\Solr\ApiLoader;

use Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider;
use Ibexa\Contracts\Core\Container\ApiLoader\RepositoryConfigurationProviderInterface;
use Ibexa\Solr\FieldMapper\IndexingDepthProvider;
use LogicException;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
Expand All @@ -18,10 +18,7 @@ class IndexingDepthProviderFactory implements ContainerAwareInterface
{
use ContainerAwareTrait;

/**
* @var \Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider
*/
private $repositoryConfigurationProvider;
private RepositoryConfigurationProviderInterface $repositoryConfigurationProvider;

/**
* @var string
Expand All @@ -34,7 +31,7 @@ class IndexingDepthProviderFactory implements ContainerAwareInterface
private $indexingDepthProviderClass;

public function __construct(
RepositoryConfigurationProvider $repositoryConfigurationProvider,
RepositoryConfigurationProviderInterface $repositoryConfigurationProvider,
string $defaultConnection,
string $indexingDepthProviderClass
) {
Expand Down
7 changes: 3 additions & 4 deletions src/bundle/ApiLoader/SolrEngineFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Ibexa\Bundle\Solr\ApiLoader;

use Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider;
use Ibexa\Contracts\Core\Container\ApiLoader\RepositoryConfigurationProviderInterface;
use Ibexa\Contracts\Core\Persistence\Content\Handler;
use Ibexa\Contracts\Solr\DocumentMapper;
use Ibexa\Solr\CoreFilter\CoreFilterRegistry;
Expand All @@ -16,8 +16,7 @@

class SolrEngineFactory
{
/** @var \Ibexa\Bundle\Core\ApiLoader\RepositoryConfigurationProvider */
private $repositoryConfigurationProvider;
private RepositoryConfigurationProviderInterface $repositoryConfigurationProvider;

/** @var string */
private $defaultConnection;
Expand All @@ -44,7 +43,7 @@ class SolrEngineFactory
private $locationResultExtractor;

public function __construct(
RepositoryConfigurationProvider $repositoryConfigurationProvider,
RepositoryConfigurationProviderInterface $repositoryConfigurationProvider,
$defaultConnection,
$searchEngineClass,
GatewayRegistry $gatewayRegistry,
Expand Down