Matcher/Matcher.php
protected function mergeDefaults(array $params, array $defaults): array
    {
        foreach ($params as $key => $value) {
            if (!\is_int($key) && null !== $value) {
                $defaults[$key] = $value;
            }
        }

        return $defaults;
    }
protected function mergeDefaults(array $params, array $defaults): array
    {
        foreach ($params as $key => $value) {
            if (!\is_int($key) && null !== $value) {
                $defaults[$key] = $value;
            }
        }

        return $defaults;
    }
protected function mergeDefaults ( array $ params , array $ defaults ) : array { foreach ( $ params as $ key => $ value ) { if ( ! \ is_int ( $ key ) && null !== $ value ) { $ defaults [ $ key ] = $ value ; } } return $ defaults ; }
Get merged default parameters.

@param array $params
@param array $defaults

@return array
Get merged default parameters .