Deprecated: Return type of Foo::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/rTpXi on line 7
[{"foo":"bar","baz":"quux"},{"foo":"bar","baz":"quux"},{"foo":"bar","baz":"quux"}]