PHP8.3 compatibility issues

Created on 5 February 2025, 26 days ago

Problem/Motivation

Fatal error: Declaration of Drupal\jsonapi_schema\Normalizer\::normalize($entity, $format = null, array $context = []) must be compatible with Drupal\jsonapi_schema\Normalizer\DataDefinitionNormalizer::normalize($entity, $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null in /var/www/html/web/modules/contrib/jsonapi_schema/src/Normalizer/ComplexDataDefinitionNormalizer.php

Proposed resolution

Add type of return value.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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