Loading
Issue #3641402: Deprecate returning a value from FormInterface::submitForm()
Resolves #3641402: Deprecate returning a value from FormInterface::submitForm()
- Added
@return voiddocblock to\Drupal\Core\Form\FormInterface::submitForm(). - Removed redundant return statements from core forms implementing
submitForm()(FilterFormatAddForm,FilterFormatEditForm,FilterFormatFormBase,FormTestInputForgeryForm). - Removed all 182
missingType.returnbaseline violations fromcore/.phpstan-baseline.php.
Closes #3641402
AI Disclosure: Code, tests, and MR description were drafted with the assistance of an AI tool (Antigravity/LLM), and manually verified and tested.
Edited by Keerthi Kumar