Skip to content

Commit

Permalink
[Rector] Used new RepositoryConfigurationProviderInterface contract
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Jul 22, 2024
1 parent 3f556ba commit 4ba6bef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 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 @@ -21,7 +21,7 @@ class BoostFactorProviderFactory implements ContainerAwareInterface
use ContainerAwareTrait;

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

Expand All @@ -40,7 +40,7 @@ class BoostFactorProviderFactory implements ContainerAwareInterface
* @param string $boostFactorProviderClass
*/
public function __construct(
RepositoryConfigurationProvider $repositoryConfigurationProvider,
RepositoryConfigurationProviderInterface $repositoryConfigurationProvider,
$defaultConnection,
$boostFactorProviderClass
) {
Expand Down
6 changes: 3 additions & 3 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 @@ -19,7 +19,7 @@ class IndexingDepthProviderFactory implements ContainerAwareInterface
use ContainerAwareTrait;

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

Expand All @@ -34,7 +34,7 @@ class IndexingDepthProviderFactory implements ContainerAwareInterface
private $indexingDepthProviderClass;

public function __construct(
RepositoryConfigurationProvider $repositoryConfigurationProvider,
RepositoryConfigurationProviderInterface $repositoryConfigurationProvider,
string $defaultConnection,
string $indexingDepthProviderClass
) {
Expand Down
6 changes: 3 additions & 3 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,7 +16,7 @@

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

/** @var string */
Expand Down Expand Up @@ -44,7 +44,7 @@ class SolrEngineFactory
private $locationResultExtractor;

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

0 comments on commit 4ba6bef

Please sign in to comment.