Skip to content

Commit 121a623

Browse files
committed
Cleanup SequenceMatcher
1 parent 6048426 commit 121a623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Diff/SequenceMatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ public function getGroupedOpcodes($context = 3)
607607
*
608608
* Out of all of the ratio calculation functions, this is the most
609609
* expensive to call if getMatchingBlocks or getOpCodes is yet to be
610-
* called. The other calculation methods (quickRatio and realquickRatio)
610+
* called. The other calculation methods (SequenceMatcher::quickRatio and SequenceMatcher::realQuickRatio)
611611
* can be used to perform quicker calculations but may be less accurate.
612612
*
613613
* The ratio is calculated as (2 * number of matches) / total number of
@@ -677,7 +677,7 @@ private function quickRatio()
677677
*
678678
* @return float The calculated ratio.
679679
*/
680-
private function realquickRatio()
680+
private function realQuickRatio()
681681
{
682682
$aLength = count($this->a);
683683
$bLength = count($this->b);

0 commit comments

Comments
 (0)