Make JsonSerializable PHP 8.1 compatible

Bug: T299695
Change-Id: If7d21100e7e20d8467685ae7515304cefabe4796
This commit is contained in:
Gergő Tisza 2022-01-20 21:51:20 -08:00
parent 514fd01ae3
commit e7248ea1ff
No known key found for this signature in database
GPG key ID: C34FEC97E6257F96

View file

@ -534,6 +534,7 @@ abstract class EchoEventPresentationModel implements JsonSerializable, MessageLo
* @return array
* @throws TimestampException
*/
#[ReturnTypeWillChange]
public function jsonSerialize() {
$body = $this->getBodyMessage();