private mergeNewMetricsToCurrentOnes ( array $newMetrics ) : array | ||
$newMetrics | array | |
return | array |
private function mergeNewMetricsToCurrentOnes($newMetrics)
{
return array_unique(array_merge($this->getMetrics(), $newMetrics));
}