Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drupal Environment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Composer
plugin
Drupal Environment
Commits
98c72619
Commit
98c72619
authored
10 months ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Fix patch for elasticsearch_connector
parent
4720f13a
No related branches found
No related tags found
1 merge request
!224
Merging develop into main
Pipeline
#1248739
passed with warnings
10 months ago
Stage: build
Stage: validate
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/d10/3454977.diff
+9
-8
9 additions, 8 deletions
patches/d10/3454977.diff
with
9 additions
and
8 deletions
patches/d10/3454977.diff
+
9
−
8
View file @
98c72619
diff --git a/src/Plugin/search_api/backend/Elastic
S
earchBackend.php b/src/Plugin/search_api/backend/Elastic
S
earchBackend.php
diff --git a/src/Plugin/search_api/backend/
SearchApi
Elastic
s
earchBackend.php b/src/Plugin/search_api/backend/
SearchApi
Elastic
s
earchBackend.php
index 9e47f52e823ad9907e5e66d86f96080407bc9919..2fdd6d710e8743f6a21f26cb6bd550fdb985547c 100644
index 9e47f52e823ad9907e5e66d86f96080407bc9919..2fdd6d710e8743f6a21f26cb6bd550fdb985547c 100644
--- a/src/Plugin/search_api/backend/Elastic
S
earchBackend.php
--- a/src/Plugin/search_api/backend/
SearchApi
Elastic
s
earchBackend.php
+++ b/src/Plugin/search_api/backend/Elastic
S
earchBackend.php
+++ b/src/Plugin/search_api/backend/
SearchApi
Elastic
s
earchBackend.php
@@ -
487,7 +487,7
@@
class Elastic
S
earchBackend extends BackendPluginBase implements PluginFormInterf
@@ -
1233,8 +1233,8
@@
class
SearchApi
Elastic
s
earchBackend extends BackendPluginBase implements PluginFormInterf
*
*
*
Make sure that the client does not get serialized
.
*
Prevents closure serialization error on search_api server add form
.
*/
*/
- public function __sleep() {
- public function __sleep() {
+ public function __sleep(): array {
+ public function __sleep(): array {
$vars = $this->traitSleep();
return [];
unset($vars[array_search('client', $vars)]);
}
return $vars;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment