Problem/Motivation
When using PHP 8.4 this module is triggering a "use explicit nullable type" deprecation.
----------------------------------------------------------------------------------------------------------------------------------------------
elasticsearch_helper/src/Elasticsearch/Index/FieldDefinition.php
----------------------------------------------------------------------------------------------------------------------------------------------
Deprecated: Drupal\elasticsearch_helper\Elasticsearch\Index\FieldDefinition::toArray(): Implicitly marking parameter $source as nullable is deprecated, the explicit nullable type must be used instead
----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------
elasticsearch_helper/src/Plugin/ElasticsearchIndexBase.php
----------------------------------------------------------------------------------------------------------------------------------------------
Deprecated: Drupal\elasticsearch_helper\Plugin\ElasticsearchIndexBase::dispatchOperationErrorEvent(): Implicitly marking parameter $request_wrapper as nullable is deprecated, the explicit nullable type must be used instead in
------ ----------------------------------------------------------------------------------------------------------------------------------------
Proposed resolution
Use Implicitly nullable parameter as requested by PHP 8.4
Remaining tasks
make a patch- review
- merge
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3567466-02.patch | 2.36 KB | wengerk |
Comments
Comment #2
wengerkHere is the patch attached