Make WordPress Core


Ignore:
Timestamp:
06/03/2025 04:49:48 PM (18 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-patterns-registry.php

    r59101 r60275  
    189189         *
    190190         * @param string $pattern_name Block pattern name including namespace.
    191          * @return array Registered pattern properties.
     191         * @return array|null Registered pattern properties or `null` if the pattern is not registered.
    192192         */
    193193        public function get_registered( $pattern_name ) {
Note: See TracChangeset for help on using the changeset viewer.