Please check if the PR fulfills these requirements
[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This PR fixes two instances where the jsonSerialize method is not compatible with the definition of JsonSerializable::jsonSerialize(), which will result in a Deprecated notice on PHP 8.1.
What is the current behavior? (You can also link to an open issue here)
On PHP 8.1, you will see deprecation notices for the two instances, also triggering to "headers already sent" notices.
What is the new behavior (if this is a feature change)?
No notices.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This PR fixes two instances where the
jsonSerialize
method is not compatible with the definition ofJsonSerializable::jsonSerialize()
, which will result in a Deprecated notice on PHP 8.1.What is the current behavior? (You can also link to an open issue here)
On PHP 8.1, you will see deprecation notices for the two instances, also triggering to "headers already sent" notices.
What is the new behavior (if this is a feature change)?
No notices.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No.
Other information: