Skip to content

Commit 0822804

Browse files
committed
return direct from isset
1 parent e73cd8e commit 0822804

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/jblond/Diff/SequenceMatcher.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,7 @@ private function chainB()
216216
*/
217217
private function isBJunk(string $bString): bool
218218
{
219-
if (isset($this->junkDict[$bString])) {
220-
return true;
221-
}
222-
223-
return false;
219+
return isset($this->junkDict[$bString]);
224220
}
225221

226222
/**

0 commit comments

Comments
 (0)