Skip to content

Commit

Permalink
Merged branch '4.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed May 28, 2024
2 parents 2834e63 + 795437c commit df9d9fa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions doc/specifications/document_field_mappers.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,27 @@ something like this:

namespace My\WebinarApp;

use EzSystems\EzPlatformSolrSearchEngine\FieldMapper\ContentFieldMapper;
use eZ\Publish\SPI\Persistence\Content\Handler as ContentHandler;
use eZ\Publish\SPI\Persistence\Content\Location\Handler as LocationHandler;
use eZ\Publish\SPI\Persistence\Content;
use eZ\Publish\SPI\Search;
use Ibexa\Contracts\Solr\FieldMapper\ContentFieldMapper;
use Ibexa\Contracts\Core\Persistence\Content\Handler as ContentHandler;
use Ibexa\Contracts\Core\Persistence\Content\Location\Handler as LocationHandler;
use Ibexa\Contracts\Core\Persistence\Content;
use Ibexa\Contracts\Core\Search;

class WebinarEventTitleFulltextFieldMapper extends ContentFieldMapper
{
/**
* @var \eZ\Publish\SPI\Persistence\Content\Type\Handler
* @var \Ibexa\Contracts\Core\Persistence\Content\Handler
*/
protected $contentHandler;

/**
* @var \eZ\Publish\SPI\Persistence\Content\Location\Handler
* @var \Ibexa\Contracts\Core\Persistence\Content\Location\Handler
*/
protected $locationHandler;

/**
* @param \eZ\Publish\SPI\Persistence\Content\Handler $contentHandler
* @param \eZ\Publish\SPI\Persistence\Content\Location\Handler $locationHandler
* @param \Ibexa\Contracts\Core\Persistence\Content\Handler $contentHandler
* @param \Ibexa\Contracts\Core\Persistence\Content\Location\Handler $locationHandler
*/
public function __construct(
ContentHandler $contentHandler,
Expand Down Expand Up @@ -127,8 +127,8 @@ this:
my_webinar_app.webinar_event_title_fulltext_field_mapper:
class: My\WebinarApp\WebinarEventTitleFulltextFieldMapper
arguments:
- '@ezpublish.spi.persistence.content_handler'
- '@ezpublish.spi.persistence.location_handler'
$contentHandler: '@Ibexa\Contracts\Core\Persistence\Content\Handler'
$locationHandler: '@Ibexa\Contracts\Core\Persistence\Content\Location\Handler'
tags:
- {name: ibexa.search.solr.field.mapper.content}
```
2 changes: 1 addition & 1 deletion ignore-lte-php7.4-errors.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
ignoreErrors:
-
message: "#^Anonymous function should return array but returns array\\<string\\>\\|false\\.$#"
message: "#^Anonymous function should return array\\<string\\> but returns array\\<string\\>\\|false\\.$#"
count: 1
path: tests/lib/Search/ResultExtractor/AggregationResultExtractor/TermAggregationResultExtractorTest.php
4 changes: 2 additions & 2 deletions src/bundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
parameters:
ibexa.solr.default_connection: ~
ibexa.solr.http_client.timeout: !php/const \EzSystems\EzPlatformSolrSearchEngineBundle\DependencyInjection\Configuration::SOLR_HTTP_CLIENT_DEFAULT_TIMEOUT
ibexa.solr.http_client.max_retries: !php/const \EzSystems\EzPlatformSolrSearchEngineBundle\DependencyInjection\Configuration::SOLR_HTTP_CLIENT_DEFAULT_MAX_RETRIES
ibexa.solr.http_client.timeout: !php/const \Ibexa\Bundle\Solr\DependencyInjection\Configuration::SOLR_HTTP_CLIENT_DEFAULT_TIMEOUT
ibexa.solr.http_client.max_retries: !php/const \Ibexa\Bundle\Solr\DependencyInjection\Configuration::SOLR_HTTP_CLIENT_DEFAULT_MAX_RETRIES

services:
ibexa.solr.http_client.retryable:
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Gateway/HttpClient/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* Simple PHP stream based HTTP client.
*
* @internal type-hint {@see \EzSystems\EzPlatformSolrSearchEngine\Gateway\HttpClient} instead.
* @internal type-hint {@see \Ibexa\Solr\Gateway\HttpClient} instead.
*/
class Stream implements HttpClient, LoggerAwareInterface
{
Expand Down

0 comments on commit df9d9fa

Please sign in to comment.