protected function calculateUpdatedAuthors($path, $authors)
    {
        return \array_merge(\array_intersect_key($this->extractAuthorsFor($path), $authors), $authors);
    }
protected function calculateUpdatedAuthors($path, $authors)
    {
        return \array_merge(\array_intersect_key($this->extractAuthorsFor($path), $authors), $authors);
    }
protected function calculateUpdatedAuthors ( $ path , $ authors ) { return \ array_merge ( \ array_intersect_key ( $ this -> extractAuthorsFor ( $ path ) , $ authors ) , $ authors ) ; }
Calculate the updated author map.

The passed authors will be used as new reference, all existing not mentioned anymore will not be contained in
the result.

@param string $path    A path obtained via a prior call to AuthorExtractor::getFilePaths().
@param array  $authors The new author list.

@return \string[]
Calculate the updated author map .