Problem/Motivation

JSDoc does not correctly describe the function's parameter and return type.

https://git.drupalcode.org/project/drupal/-/blob/11.x/core/misc/message....

Proposed resolution

Update the docs with correct description of parameters and return value's description.

Remaining tasks

TBD

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3446504

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Tom Konda created an issue. See original summary.

Utkarsh_33 made their first commit to this issue’s fork.

utkarsh_33’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Needs work

Can the issue summary be updated please.

utkarsh_33’s picture

Title: Mismatch between implementation and description for Drupal.Message.prototype.remove() return value » Mismatch between implementation and description for Drupal.Message.prototype.remove().
Issue summary: View changes
utkarsh_33’s picture

Status: Needs work » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, seems straight forward enough.

  • nod_ committed 2e52b17a on 10.3.x
    Issue #3446504 by Utkarsh_33, smustgrave, Tom Konda: Mismatch between...

  • nod_ committed 261698d9 on 10.4.x
    Issue #3446504 by Utkarsh_33, smustgrave, Tom Konda: Mismatch between...

  • nod_ committed b1607005 on 11.0.x
    Issue #3446504 by Utkarsh_33, smustgrave, Tom Konda: Mismatch between...

  • nod_ committed d4e1e52a on 11.x
    Issue #3446504 by Utkarsh_33, smustgrave, Tom Konda: Mismatch between...
nod_’s picture

Version: 11.x-dev » 10.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed and pushed d4e1e52ab2 to 11.x and b1607005cd to 11.0.x and 261698d904 to 10.4.x and 2e52b17a0b to 10.3.x. Thanks!

Status: Fixed » Closed (fixed)

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