Function declaration compatible issue with Drupal\hal\Normalizer\ContentEntityNormalizer::normalize($entity, $format = null, array $context = [])

Created on 29 August 2023, 10 months ago
Updated 17 October 2023, 8 months ago

Problem/Motivation

Fatal error: Declaration of Drupal\default_content_extra\Normalizer\NodeEntityNormalizer::normalize($entity, $format = null, array $context = []) must be compatible with Drupal\hal\Normalizer\ContentEntityNormalizer::normalize($entity, $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null

Fatal error: Declaration of Drupal\default_content_extra\Normalizer\NodeEntityNormalizer::denormalize($entity, $format = null, array $context = []) must be compatible with Drupal\hal\Normalizer\ContentEntityNormalizer::denormalize($entity, $format = null, array $context = []): mixed

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India rahul1707

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

Comments & Activities

Production build 0.69.0 2024