Skip to content

Commit fe0974d

Browse files
committed
Fix a typo
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent 4f8c8cb commit fe0974d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/SequenceMatcher.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function setOptions(array $options): self
118118
$this->options = $options + self::$defaultOptions;
119119

120120
$this->setOps($this->options['useIntOpcodes']);
121-
$this->resetchedResults();
121+
$this->resetCachedResults();
122122

123123
return $this;
124124
}
@@ -128,7 +128,7 @@ public function setOptions(array $options): self
128128
*
129129
* @return self
130130
*/
131-
public function resetchedResults(): self
131+
public function resetCachedResults(): self
132132
{
133133
$this->matchingBlocks = [];
134134
$this->opcodes = [];
@@ -163,7 +163,7 @@ public function setSeq1(array $a): self
163163
{
164164
if ($this->a !== $a) {
165165
$this->a = $a;
166-
$this->resetchedResults();
166+
$this->resetCachedResults();
167167
}
168168

169169
return $this;
@@ -181,7 +181,7 @@ public function setSeq2(array $b): self
181181
{
182182
if ($this->b !== $b) {
183183
$this->b = $b;
184-
$this->resetchedResults();
184+
$this->resetCachedResults();
185185

186186
$this->fullBCount = [];
187187
$this->chainB();
@@ -597,7 +597,7 @@ private function setOps(bool $useIntOpcodes): self
597597
];
598598
}
599599

600-
$this->resetchedResults();
600+
$this->resetCachedResults();
601601

602602
return $this;
603603
}

0 commit comments

Comments
 (0)