WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

DataSourcePoller::merge_specs() private WC 1.0

Merge the specs.

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

No Hooks.

Return

null. Nothing.

Usage

$result = DataSourcePoller::merge_specs( $specs_to_merge_in, $specs, $url );
$specs_to_merge_in(array) (required)
The specs to merge in to $specs.
$specs(array) (required)
The list of specs being merged into.
$url(string) (required)
The url of the feed being merged in (for error reporting).

Code of DataSourcePoller::merge_specs() WC 5.3.0

<?php
private static function merge_specs( $specs_to_merge_in, &$specs, $url ) {
	foreach ( $specs_to_merge_in as $spec ) {
		if ( ! self::validate_spec( $spec, $url ) ) {
			continue;
		}

		$slug           = $spec->slug;
		$specs[ $slug ] = $spec;
	}
}