buildCkEditorModalForm must be compatible with base method

Created on 6 March 2025, about 1 month ago

Problem/Motivation

we have declration issue
Fatal error: Declaration of Drupal\ai_ckeditor\Plugin\AICKEditor\FleschScore::buildCkEditorModalForm(array $form, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\ai_ckeditor\AiCKEditorPluginBase::buildCkEditorModalForm(array $form, Drupal\Core\Form\FormStateInterface $form_state, array $settings = []) in /home/www/subsites/web/modules/contrib/ai_ckeditor_extras/src/Plugin/AiCKEditor/FleschScore.php on line 58

Steps to reproduce

Proposed resolution

add missing third parameter

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇬Egypt Mok7tar Egypt , Mansoura

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

Comments & Activities

Production build 0.71.5 2024