wp-includes/class-wp-block-list.php:114Assign a block value by the specified block offset.
$offsetstring$valuemixed #[ReturnTypeWillChange] public function offsetSet( $offset, $value ) { if ( is_null( $offset ) ) { $this->blocks[] = $value; } else { $this->blocks[ $offset ] = $value; } }Introduced in 5.5.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$offset retyped from string to int.verified against source$value retyped from mixed to array|WP_Block.verified against sourcesrc/wp-includes/class-wp-block-list.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.