diff --git a/src/wp-includes/class-wp-block-parser-frame.php b/src/wp-includes/class-wp-block-parser-frame.php
index 15938dea38..393a2a315c 100644
--- a/src/wp-includes/class-wp-block-parser-frame.php
+++ b/src/wp-includes/class-wp-block-parser-frame.php
@@ -65,8 +65,8 @@ class WP_Block_Parser_Frame {
 	 * @param WP_Block_Parser_Block $block              Full or partial block.
 	 * @param int                   $token_start        Byte offset into document for start of parse token.
 	 * @param int                   $token_length       Byte length of entire parse token string.
-	 * @param int                   $prev_offset        Byte offset into document for after parse token ends.
-	 * @param int                   $leading_html_start Byte offset into document where leading HTML before token starts.
+	 * @param int|null              $prev_offset        Byte offset into document for after parse token ends. Default null.
+	 * @param int|null              $leading_html_start Byte offset into document where leading HTML before token starts. Default null.
 	 */
 	public function __construct( $block, $token_start, $token_length, $prev_offset = null, $leading_html_start = null ) {
 		$this->block              = $block;
