From 93a2754f27828ca1eea2e4bc63ae83caa5363247 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Mon, 22 Jul 2024 15:50:13 +0200 Subject: [PATCH] Replaced `$repositoryConfigurationProvider` PHPDoc with strict type Co-Authored-By: Konrad Oboza --- src/bundle/ApiLoader/BoostFactorProviderFactory.php | 5 +---- src/bundle/ApiLoader/IndexingDepthProviderFactory.php | 5 +---- src/bundle/ApiLoader/SolrEngineFactory.php | 3 +-- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/bundle/ApiLoader/BoostFactorProviderFactory.php b/src/bundle/ApiLoader/BoostFactorProviderFactory.php index 8689ac85..cd054f66 100644 --- a/src/bundle/ApiLoader/BoostFactorProviderFactory.php +++ b/src/bundle/ApiLoader/BoostFactorProviderFactory.php @@ -20,10 +20,7 @@ class BoostFactorProviderFactory implements ContainerAwareInterface { use ContainerAwareTrait; - /** - * @var \Ibexa\Contracts\Core\Container\ApiLoader\RepositoryConfigurationProviderInterface - */ - private $repositoryConfigurationProvider; + private RepositoryConfigurationProviderInterface $repositoryConfigurationProvider; /** * @var string diff --git a/src/bundle/ApiLoader/IndexingDepthProviderFactory.php b/src/bundle/ApiLoader/IndexingDepthProviderFactory.php index 38db2c44..a78722bc 100644 --- a/src/bundle/ApiLoader/IndexingDepthProviderFactory.php +++ b/src/bundle/ApiLoader/IndexingDepthProviderFactory.php @@ -18,10 +18,7 @@ class IndexingDepthProviderFactory implements ContainerAwareInterface { use ContainerAwareTrait; - /** - * @var \Ibexa\Contracts\Core\Container\ApiLoader\RepositoryConfigurationProviderInterface - */ - private $repositoryConfigurationProvider; + private RepositoryConfigurationProviderInterface $repositoryConfigurationProvider; /** * @var string diff --git a/src/bundle/ApiLoader/SolrEngineFactory.php b/src/bundle/ApiLoader/SolrEngineFactory.php index 35de38fe..dbb72533 100644 --- a/src/bundle/ApiLoader/SolrEngineFactory.php +++ b/src/bundle/ApiLoader/SolrEngineFactory.php @@ -16,8 +16,7 @@ class SolrEngineFactory { - /** @var \Ibexa\Contracts\Core\Container\ApiLoader\RepositoryConfigurationProviderInterface */ - private $repositoryConfigurationProvider; + private RepositoryConfigurationProviderInterface $repositoryConfigurationProvider; /** @var string */ private $defaultConnection;