Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yetanotherape committed Feb 16, 2025
1 parent 2dad32a commit abe9960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiffToolkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function halfMatch($text1, $text2)
$longtext = $text2;
}

if (mb_strlen($longtext) < 4 || mb_strlen($shorttext) * 2 < mb_strlen(mb_strlen($longtext))) {
if (mb_strlen($longtext) < 4 || mb_strlen($shorttext) * 2 < mb_strlen($longtext)) {
// Pointless
return null;
}
Expand Down

0 comments on commit abe9960

Please sign in to comment.