File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class WP_Block_Parser {
4949 public $ stack ;
5050
5151 /**
52- * Parses a document and returns a list of block structures.
52+ * Parses a document and returns a list of block structures
5353 *
5454 * When encountering an invalid parse will return a best-effort
5555 * parse. In contrast to the specification parser this does not
@@ -58,21 +58,7 @@ class WP_Block_Parser {
5858 * @since 5.0.0
5959 *
6060 * @param string $document Input document being parsed.
61- * @return array[] {
62- * Array of block structures.
63- *
64- * @type array ...$0 {
65- * A representative array of a single parsed block object. See WP_Block_Parser_Block.
66- *
67- * @type string $blockName Name of block.
68- * @type array $attrs Attributes from block comment delimiters.
69- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
70- * have the same structure as this one.
71- * @type string $innerHTML HTML from inside block comment delimiters.
72- * @type array $innerContent List of string fragments and null markers where
73- * inner blocks were found.
74- * }
75- * }
61+ * @return array[]
7662 */
7763 public function parse ( $ document ) {
7864 $ this ->document = $ document ;
You can’t perform that action at this time.
0 commit comments