Problem/Motivation

RfcLogLevel::getLevels() should document its return type more specifically than just an array

Steps to reproduce

Proposed resolution

Replace array with \Drupal\Core\StringTranslation\TranslatableMarkup[]

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3565566

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

mfb created an issue. See original summary.

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Seems straight forward and feedback addressed.

Credited mstrelan and mfb for the work here.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

alexpott’s picture

Version: main » 11.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed and pushed f79a75dfbc0 to main and 0f70f236f95 to 11.x and 31df532328b to 11.3.x. Thanks!

Backported to 11.3.x as a docs only fix.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • alexpott committed 31df5323 on 11.3.x
    docs: #3565566 Document return type for RfcLogLevel::getLevels()
    
    By:...

  • alexpott committed 0f70f236 on 11.x
    docs: #3565566 Document return type for RfcLogLevel::getLevels()
    
    By:...

  • alexpott committed f79a75df on main
    docs: #3565566 Document return type for RfcLogLevel::getLevels()
    
    By:...

Status: Fixed » Closed (fixed)

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