Problem/Motivation

( ! ) Deprecated: Drupal\computed_field\Plugin\ComputedField\ComputedFieldBase::createComputedFieldDefinition(): Implicitly marking parameter $bundle as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/computed_field/src/Plugin/ComputedField/ComputedFieldBase.php on line 131

Steps to reproduce

Proposed resolution

Remaining tasks

Update code to use `?` to make the nullability explicit.

CommentFileSizeAuthor
#2 computed_field-3517773-2.patch1.19 KBmlncn

Comments

mlncn created an issue. See original summary.

mlncn’s picture

Status: Active » Needs review
StatusFileSize
new1.19 KB
mlncn’s picture

joachim’s picture

Status: Needs review » Fixed

Committed, with a small fix to the docs fix -- should be 'null' in lowercase in docs.

Thanks!

  • joachim committed c8826e38 on 4.0.x
    Issue #3517773 by mlncn: Fixed deprecated implicitly nullable parameter.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.