Skip to content

Commit

Permalink
Adjust alignment and add Default value to PHPDoc for serialize_block.
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Sep 11, 2023
1 parent 8fc29bc commit cab8fd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -863,8 +863,8 @@ function serialize_block( $block, $callback = null ) {
* @since 5.3.1
* @since 6.4.0 The `$callback` parameter was added.
*
* @param array[] $blocks An array of representative arrays of parsed block objects. See serialize_block().
* @param string $callback Optional. Callback to run on the blocks before serialization.
* @param array[] $blocks An array of representative arrays of parsed block objects. See serialize_block().
* @param string $callback Optional. Callback to run on the blocks before serialization. Default null.
* @return string String of rendered HTML.
*/
function serialize_blocks( $blocks, $callback = null ) {
Expand Down

0 comments on commit cab8fd6

Please sign in to comment.