Make WordPress Core

Ticket #56581: 56581.patch

File 56581.patch, 651 bytes (added by Chouby, 2 years ago)
  • src/wp-includes/class-wp-block-parser.php

    diff --git src/wp-includes/class-wp-block-parser.php src/wp-includes/class-wp-block-parser.php
    index 27c85cfcd2..cbecb0d2b9 100644
    class WP_Block_Parser { 
    192192         * List of parsed blocks
    193193         *
    194194         * @since 5.0.0
    195          * @var WP_Block_Parser_Block[]
     195         * @var array[]
    196196         */
    197197        public $output;
    198198
    class WP_Block_Parser { 
    222222         * @since 5.0.0
    223223         *
    224224         * @param string $document Input document being parsed.
    225          * @return WP_Block_Parser_Block[]
     225         * @return array[]
    226226         */
    227227        function parse( $document ) {
    228228                $this->document    = $document;