src/Parser.php
public function parseLines(array $lines, string $vcsType = ''): Changeset
    {
        $parser = $this->getParser($vcsType);

        return $parser->parse($lines);
    }
public function parseLines(array $lines, string $vcsType = ''): Changeset
    {
        $parser = $this->getParser($vcsType);

        return $parser->parse($lines);
    }
public function parseLines ( array $ lines , string $ vcsType = '' ) : Changeset { $ parser = $ this -> getParser ( $ vcsType ) ; return $ parser -> parse ( $ lines ) ; }
Accepts an array of diff lines & returns a Changeset instance.

@param string[] $lines
@param string $vcsType

@return Changeset
Accepts an array of diff lines & returns a Changeset instance .