Skip to content
Snippets Groups Projects
Commit 4720f13a authored by jurgenhaas's avatar jurgenhaas
Browse files

Add patch for elasticsearch_connector

parent 62cf25cc
Branches
Tags
1 merge request!223Merging develop into main
Pipeline #1248033 passed with warnings
......@@ -96,7 +96,8 @@
"#3099176 Errors when new entity types are added": "https://www.drupal.org/files/issues/2023-09-08/3099176-3.x-16.diff"
},
"drupal/elasticsearch_connector": {
"#2952301 Flatten keys": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/elasticsearch_connector.patch"
"#2952301 Flatten keys": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/elasticsearch_connector.patch",
"#3454977 WSOD": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3454977.diff"
},
"drupal/entity_import": {
"#3061935 Make it work without content_translation": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3061935.diff",
......
......@@ -98,7 +98,8 @@
"#3396915 Improve #3368530 to cleanup context": "https://www.drupal.org/files/issues/2023-10-26/3396915-2.diff"
},
"drupal/elasticsearch_connector": {
"#2952301 Flatten keys": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/elasticsearch_connector.patch"
"#2952301 Flatten keys": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/elasticsearch_connector.patch",
"#3454977 WSOD": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3454977.diff"
},
"drupal/entity_import": {
"#3061935 Make it work without content_translation": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3061935.diff",
......
diff --git a/src/Plugin/search_api/backend/ElasticSearchBackend.php b/src/Plugin/search_api/backend/ElasticSearchBackend.php
index 9e47f52e823ad9907e5e66d86f96080407bc9919..2fdd6d710e8743f6a21f26cb6bd550fdb985547c 100644
--- a/src/Plugin/search_api/backend/ElasticSearchBackend.php
+++ b/src/Plugin/search_api/backend/ElasticSearchBackend.php
@@ -487,7 +487,7 @@ class ElasticSearchBackend extends BackendPluginBase implements PluginFormInterf
*
* Make sure that the client does not get serialized.
*/
- public function __sleep() {
+ public function __sleep(): array {
$vars = $this->traitSleep();
unset($vars[array_search('client', $vars)]);
return $vars;
......@@ -98,7 +98,8 @@
"#3099176 Errors when new entity types are added": "https://www.drupal.org/files/issues/2023-09-08/3099176-3.x-16.diff"
},
"drupal/elasticsearch_connector": {
"#2952301 Flatten keys": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/elasticsearch_connector.patch"
"#2952301 Flatten keys": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/elasticsearch_connector.patch",
"#3454977 WSOD": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3454977.diff"
},
"drupal/entity_import": {
"#3061935 Make it work without content_translation": "https://gitlab.lakedrops.com/composer/plugin/drupal-environment/-/raw/main/patches/d10/3061935.diff",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment