[1.0.3] symfony/encoder v6.x compatibility

Created on 20 September 2023, about 1 year ago
Updated 15 May 2024, 6 months ago

Problem/Motivation

Starting with v6.0, symfony/serialize components were added typed return (see this pull request : https://github.com/symfony/serializer/commit/7d2f07bffadfae9bef59471515f...).

Module's component GeoJsonEncoder which extends JsonEncoder does not type its method's return, which leads to fatal error when implementing or using in any way geolocation plugins.

Attached patch fixes said fatal error by applying parent class typed returns to GeoJsonEncoder.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France jmaxant

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024