Nitpick: Wrong argument name in EmptyFieldPluginBase::react()

Created on 21 April 2023, about 1 year ago

Problem/Motivation

I just saw that there is a typo in the argument name of the EmptyFieldPluginBase::react() method:

abstract public function react(array $content);

But as the EmptyFieldPluginInterface and all subclasses say, it should be $context instead:

abstract public function react(array $context);

This change should have no side effects at all because it is only the argument name in an abstract method definition.

Steps to reproduce

Check the code of src/EmptyFieldPluginBase.php for abstract react() method

Proposed resolution

Fix typo

Remaining tasks

Create issue fork or patch to fix the type

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hctom

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

Comments & Activities

Production build 0.69.0 2024