wp-includes/class-wp-block-list.php:158Returns the current element of the block list.
mixed #[ReturnTypeWillChange] public function current() { return $this->offsetGet( $this->key() ); }Introduced in 5.5.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
mixed to WP_Block|null.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.