WordPress.org

Make WordPress Core

Ticket #46852: 46852.diff

File 46852.diff, 920 bytes (added by diddledan, 5 months ago)

patch to change type annotation in docblock from array to array|null

  • wp-includes/class-wp-customize-manager.php

    diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php
    index e4e6dfa810..3f9387c36d 100644
    a b final class WP_Customize_Manager { 
    232232         * Changeset data loaded from a customize_changeset post.
    233233         *
    234234         * @since 4.7.0
    235          * @var array
     235         * @var array|null
    236236         */
    237237        private $_changeset_data;
    238238