Make WordPress Core


Ignore:
Timestamp:
10/16/2023 03:15:14 PM (11 months ago)
Author:
flixos90
Message:

General: Remove discouraged @return void annotations.

Such @return void annotations must not be used in WordPress core's PHP code, except bundled themes, third-party libraries, and PHP compatibility shims.

Props isabel_brison, swissspidy.
Fixes #59619.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-template-utils.php

    r56896 r56943  
    479479 *
    480480 * @param array $block a parsed block.
    481  * @return void
    482481 */
    483482function _inject_theme_attribute_in_template_part_block( &$block ) {
     
    497496 *
    498497 * @param array $block a parsed block.
    499  * @return void
    500498 */
    501499function _remove_theme_attribute_from_template_part_block( &$block ) {
Note: See TracChangeset for help on using the changeset viewer.