WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports

Segmenter::fill_in_missing_interval_segments() protected WC 1.0

Adds missing segments to intervals, modifies $data.

{} It's a method of the class: Segmenter{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->fill_in_missing_interval_segments( $data );
$data(stdClass) (required) (passed by reference — &)
Response data.

Code of Segmenter::fill_in_missing_interval_segments() WC 5.3.0

<?php
protected function fill_in_missing_interval_segments( &$data ) {
	foreach ( $data->intervals as $order_id => $interval_data ) {
		$data->intervals[ $order_id ]['segments'] = $this->fill_in_missing_segments( $data->intervals[ $order_id ]['segments'] );
	}
}