Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-core/Index/AsyncIndexOperation.php

Summary

Maintainability
A
45 mins
Test Coverage

Method __construct has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

        \Magento\Framework\ObjectManagerInterface $objectManager,
        \Smile\ElasticsuiteCore\Api\Client\ClientInterface $client,
        \Smile\ElasticsuiteCore\Api\Client\ClientConfigurationInterface $clientConfiguration,
        \Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface $indexSettings,
        PipelineManagerInterface $pipelineManager,
Severity: Minor
Found in src/module-elasticsuite-core/Index/AsyncIndexOperation.php - About 45 mins to fix

    Possibly zero references to use statement for classlike/namespace ClientConfigurationInterface (\Smile\ElasticsuiteCore\Api\Client\ClientConfigurationInterface)
    Open

    use Smile\ElasticsuiteCore\Api\Client\ClientConfigurationInterface;

    Declaration of function executeBulk(\Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface $bulk) : void should be compatible with function executeBulk(\Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface $bulk) : \Smile\ElasticsuiteCore\Api\Index\Bulk\BulkResponseInterface defined in /code/src/module-elasticsuite-core/Api/Index/IndexOperationInterface.php:103
    Open

        public function executeBulk(\Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface $bulk)

    There are no issues that match your filters.

    Category
    Status