Skip to content

Commit 437cc3d

Browse files
authored
Merge pull request #28 from JBlond/DigiLive
Code Fixes.
2 parents c662c02 + dd07685 commit 437cc3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/jblond/Diff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function getGroupedOpCodes(): array
237237

238238
//Get and cache the grouped op-codes.
239239
$sequenceMatcher = new SequenceMatcher($this->version1, $this->version2, $this->options);
240-
$this->groupedCodes = $sequenceMatcher->getGroupedOpCodes($this->options['context']);
240+
$this->groupedCodes = $sequenceMatcher->getGroupedOpCodes();
241241

242242
return $this->groupedCodes;
243243
}

lib/jblond/Diff/SequenceMatcher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace jblond\Diff;
66

7-
use http\Exception\InvalidArgumentException;
7+
use InvalidArgumentException;
88

99
/**
1010
* Sequence matcher for Diff

0 commit comments

Comments
 (0)