Skip to content

Commit

Permalink
fix: mixed return type (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
atymic authored Feb 5, 2022
1 parent 0aec40a commit b057be1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/FcmMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,11 @@ public function toArray()
];
}

public function jsonSerialize(): mixed
/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->toArray();
}
Expand Down

0 comments on commit b057be1

Please sign in to comment.