Make WordPress Core


Ignore:
Timestamp:
06/03/2025 04:49:48 PM (17 months ago)
Author:
johnbillion
Message:

General: Various fixes to the correctness of code and documentation reported by PHPStan.

Props justlevine

See #63268

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-styles-registry.php

    r59760 r60275  
    141141         * @param string $block_name       Block type name including namespace.
    142142         * @param string $block_style_name Block style name.
    143          * @return array Registered block style properties.
     143         * @return array|null Registered block style properties or `null` if the block style is not registered.
    144144         */
    145145        public function get_registered( $block_name, $block_style_name ) {
Note: See TracChangeset for help on using the changeset viewer.