@@ -1676,13 +1676,13 @@ function get_comment_delimited_block_content( $block_name, $block_attributes, $b
1676
1676
* @param array $block {
1677
1677
* An associative array of a single parsed block object. See WP_Block_Parser_Block.
1678
1678
*
1679
- * @type string $blockName Name of block.
1680
- * @type array $attrs Attributes from block comment delimiters.
1681
- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
1682
- * have the same structure as this one.
1683
- * @type string $innerHTML HTML from inside block comment delimiters.
1684
- * @type array $innerContent List of string fragments and null markers where
1685
- * inner blocks were found.
1679
+ * @type string|null $blockName Name of block.
1680
+ * @type array $attrs Attributes from block comment delimiters.
1681
+ * @type array[] $innerBlocks List of inner blocks. An array of arrays that
1682
+ * have the same structure as this one.
1683
+ * @type string $innerHTML HTML from inside block comment delimiters.
1684
+ * @type array $innerContent List of string fragments and null markers where
1685
+ * inner blocks were found.
1686
1686
* }
1687
1687
* @return string String of rendered HTML.
1688
1688
*/
@@ -1717,13 +1717,13 @@ function serialize_block( $block ) {
1717
1717
* @type array ...$0 {
1718
1718
* An associative array of a single parsed block object. See WP_Block_Parser_Block.
1719
1719
*
1720
- * @type string $blockName Name of block.
1721
- * @type array $attrs Attributes from block comment delimiters.
1722
- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
1723
- * have the same structure as this one.
1724
- * @type string $innerHTML HTML from inside block comment delimiters.
1725
- * @type array $innerContent List of string fragments and null markers where
1726
- * inner blocks were found.
1720
+ * @type string|null $blockName Name of block.
1721
+ * @type array $attrs Attributes from block comment delimiters.
1722
+ * @type array[] $innerBlocks List of inner blocks. An array of arrays that
1723
+ * have the same structure as this one.
1724
+ * @type string $innerHTML HTML from inside block comment delimiters.
1725
+ * @type array $innerContent List of string fragments and null markers where
1726
+ * inner blocks were found.
1727
1727
* }
1728
1728
* }
1729
1729
* @return string String of rendered HTML.
@@ -2244,13 +2244,13 @@ function _excerpt_render_inner_blocks( $parsed_block, $allowed_blocks ) {
2244
2244
* @param array $parsed_block {
2245
2245
* An associative array of the block being rendered. See WP_Block_Parser_Block.
2246
2246
*
2247
- * @type string $blockName Name of block.
2248
- * @type array $attrs Attributes from block comment delimiters.
2249
- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2250
- * have the same structure as this one.
2251
- * @type string $innerHTML HTML from inside block comment delimiters.
2252
- * @type array $innerContent List of string fragments and null markers where
2253
- * inner blocks were found.
2247
+ * @type string|null $blockName Name of block.
2248
+ * @type array $attrs Attributes from block comment delimiters.
2249
+ * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2250
+ * have the same structure as this one.
2251
+ * @type string $innerHTML HTML from inside block comment delimiters.
2252
+ * @type array $innerContent List of string fragments and null markers where
2253
+ * inner blocks were found.
2254
2254
* }
2255
2255
* @return string String of rendered HTML.
2256
2256
*/
@@ -2268,13 +2268,13 @@ function render_block( $parsed_block ) {
2268
2268
* @param array $parsed_block {
2269
2269
* An associative array of the block being rendered. See WP_Block_Parser_Block.
2270
2270
*
2271
- * @type string $blockName Name of block.
2272
- * @type array $attrs Attributes from block comment delimiters.
2273
- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2274
- * have the same structure as this one.
2275
- * @type string $innerHTML HTML from inside block comment delimiters.
2276
- * @type array $innerContent List of string fragments and null markers where
2277
- * inner blocks were found.
2271
+ * @type string|null $blockName Name of block.
2272
+ * @type array $attrs Attributes from block comment delimiters.
2273
+ * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2274
+ * have the same structure as this one.
2275
+ * @type string $innerHTML HTML from inside block comment delimiters.
2276
+ * @type array $innerContent List of string fragments and null markers where
2277
+ * inner blocks were found.
2278
2278
* }
2279
2279
* @param WP_Block|null $parent_block If this is a nested block, a reference to the parent block.
2280
2280
*/
@@ -2294,25 +2294,25 @@ function render_block( $parsed_block ) {
2294
2294
* @param array $parsed_block {
2295
2295
* An associative array of the block being rendered. See WP_Block_Parser_Block.
2296
2296
*
2297
- * @type string $blockName Name of block.
2298
- * @type array $attrs Attributes from block comment delimiters.
2299
- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2300
- * have the same structure as this one.
2301
- * @type string $innerHTML HTML from inside block comment delimiters.
2302
- * @type array $innerContent List of string fragments and null markers where
2303
- * inner blocks were found.
2297
+ * @type string|null $blockName Name of block.
2298
+ * @type array $attrs Attributes from block comment delimiters.
2299
+ * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2300
+ * have the same structure as this one.
2301
+ * @type string $innerHTML HTML from inside block comment delimiters.
2302
+ * @type array $innerContent List of string fragments and null markers where
2303
+ * inner blocks were found.
2304
2304
* }
2305
2305
* @param array $source_block {
2306
2306
* An un-modified copy of `$parsed_block`, as it appeared in the source content.
2307
2307
* See WP_Block_Parser_Block.
2308
2308
*
2309
- * @type string $blockName Name of block.
2310
- * @type array $attrs Attributes from block comment delimiters.
2311
- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2312
- * have the same structure as this one.
2313
- * @type string $innerHTML HTML from inside block comment delimiters.
2314
- * @type array $innerContent List of string fragments and null markers where
2315
- * inner blocks were found.
2309
+ * @type string|null $blockName Name of block.
2310
+ * @type array $attrs Attributes from block comment delimiters.
2311
+ * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2312
+ * have the same structure as this one.
2313
+ * @type string $innerHTML HTML from inside block comment delimiters.
2314
+ * @type array $innerContent List of string fragments and null markers where
2315
+ * inner blocks were found.
2316
2316
* }
2317
2317
* @param WP_Block|null $parent_block If this is a nested block, a reference to the parent block.
2318
2318
*/
@@ -2342,13 +2342,13 @@ function render_block( $parsed_block ) {
2342
2342
* @param array $parsed_block {
2343
2343
* An associative array of the block being rendered. See WP_Block_Parser_Block.
2344
2344
*
2345
- * @type string $blockName Name of block.
2346
- * @type array $attrs Attributes from block comment delimiters.
2347
- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2348
- * have the same structure as this one.
2349
- * @type string $innerHTML HTML from inside block comment delimiters.
2350
- * @type array $innerContent List of string fragments and null markers where
2351
- * inner blocks were found.
2345
+ * @type string|null $blockName Name of block.
2346
+ * @type array $attrs Attributes from block comment delimiters.
2347
+ * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2348
+ * have the same structure as this one.
2349
+ * @type string $innerHTML HTML from inside block comment delimiters.
2350
+ * @type array $innerContent List of string fragments and null markers where
2351
+ * inner blocks were found.
2352
2352
* }
2353
2353
* @param WP_Block|null $parent_block If this is a nested block, a reference to the parent block.
2354
2354
*/
@@ -2371,13 +2371,13 @@ function render_block( $parsed_block ) {
2371
2371
* @type array ...$0 {
2372
2372
* An associative array of a single parsed block object. See WP_Block_Parser_Block.
2373
2373
*
2374
- * @type string $blockName Name of block.
2375
- * @type array $attrs Attributes from block comment delimiters.
2376
- * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2377
- * have the same structure as this one.
2378
- * @type string $innerHTML HTML from inside block comment delimiters.
2379
- * @type array $innerContent List of string fragments and null markers where
2380
- * inner blocks were found.
2374
+ * @type string|null $blockName Name of block.
2375
+ * @type array $attrs Attributes from block comment delimiters.
2376
+ * @type array[] $innerBlocks List of inner blocks. An array of arrays that
2377
+ * have the same structure as this one.
2378
+ * @type string $innerHTML HTML from inside block comment delimiters.
2379
+ * @type array $innerContent List of string fragments and null markers where
2380
+ * inner blocks were found.
2381
2381
* }
2382
2382
* }
2383
2383
*/
0 commit comments