Skip to content

Commit 57d685d

Browse files
Fix php deprecations for jsonSerialize (#178)
1 parent 7e127de commit 57d685d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Search/Document.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ public function hasField($name)
245245
return isset($this->fields[$name]);
246246
}
247247

248+
#[\ReturnTypeWillChange]
248249
public function jsonSerialize()
249250
{
250251
return [

0 commit comments

Comments
 (0)