Skip to content

Commit

Permalink
Fix php deprecations for jsonSerialize (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored Aug 8, 2024
1 parent 7e127de commit 57d685d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Search/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ public function hasField($name)
return isset($this->fields[$name]);
}

#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return [
Expand Down

0 comments on commit 57d685d

Please sign in to comment.