wp-includes/class-wp-hook.php:523Sets a value at a specified offset.
$offsetint|null$valuearray #[ReturnTypeWillChange] public function offsetSet( $offset, $value ) { if ( is_null( $offset ) ) { $this->callbacks[] = $value; } else { $this->callbacks[ $offset ] = $value; } $this->priorities = array_keys( $this->callbacks ); }Introduced in 4.7.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$offset retyped from mixed to int|null.verified against source$value retyped from mixed to array.verified against sourcesrc/wp-includes/class-wp-hook.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.