private function createCommit(string $row): Commit
    {
        $std   = json_decode($row);
        $date  = new \DateTimeImmutable($std->date);
        $names = array_map('trim', explode(',', str_replace(['(', ')'], '', $std->names)));

        return new Commit($std->hash, $names, $std->description, $date, $std->author);
    }
private function createCommit(string $row): Commit
    {
        $std   = json_decode($row);
        $date  = new \DateTimeImmutable($std->date);
        $names = array_map('trim', explode(',', str_replace(['(', ')'], '', $std->names)));

        return new Commit($std->hash, $names, $std->description, $date, $std->author);
    }
private function createCommit ( string $ row ) : Commit { $ std = json_decode ( $ row ) ; $ date = new \ DateTimeImmutable ( $ std -> date ) ; $ names = array_map ( 'trim' , explode ( ',' , str_replace ( [ '(' , ')' ] , '' , $ std -> names ) ) ) ; return new Commit ( $ std -> hash , $ names , $ std -> description , $ date , $ std -> author ) ; }
Create a log commit object.

@param  string $row
@return \SebastianFeldmann\Git\Log\Commit
@throws \Exception
Create a log commit object .