Make WordPress Core


Ignore:
Timestamp:
09/12/2023 03:21:02 PM (16 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Include one space after function keyword for closures.

Note: This is enforced by WPCS 3.0.0.

Reference: WPCS: PR #2328 Core: properly check formatting of function declaration statements.

Props jrf.
See #59161, #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/index.php

    r56524 r56559  
    8888    }
    8989
    90     $register_style = static function( $name, $filename, $style_handle ) use ( $blocks_url, $suffix, $wp_styles, $files ) {
     90    $register_style = static function ( $name, $filename, $style_handle ) use ( $blocks_url, $suffix, $wp_styles, $files ) {
    9191        $style_path = "{$name}/{$filename}{$suffix}.css";
    9292        $path       = wp_normalize_path( BLOCKS_PATH . $style_path );
Note: See TracChangeset for help on using the changeset viewer.