LanguageFieldBuilder::build is not compatible with diff 2.0.x's CoreFieldBuilder::build

Created on 23 January 2025, about 1 month ago

Problem/Motivation

Add support for the latest 2.x diff module version.
In this version diff module has added type hinting to a bunch of their methods which is breaking a few modules that are extending those methods.

Fatal error: Declaration of Drupal\languagefield\Plugin\diff\Field\LanguageFieldBuilder::build(Drupal\Core\Field\FieldItemListInterface $field_items) must be compatible with Drupal\diff\Plugin\diff\Field\CoreFieldBuilder::build(Drupal\Core\Field\FieldItemListInterface $field_items): array
✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine bahbka Dnipro

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

Comments & Activities

Production build 0.71.5 2024