Match signature for normalizer method in D10

Created on 29 January 2024, 5 months ago
Updated 12 February 2024, 5 months ago

Problem/Motivation

With the update to D10, symfony will now introduce type declarations to some of its class methods. This includes the normalize() function for the serializer which will throw an error in D10
Method 'Drupal\serialization_cache\Serializer\BaseCachingSerializer::normalize()' is not compatible with method 'Symfony\Component\Serializer\Serializer::normalize()

Steps to reproduce

Call BaseCachingSerializer->normalize()

Proposed resolution

Match the new signature

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Kevin Hoffmann Berlin

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024