Skip to content

Commit 40f418f

Browse files
committed
Fix grammar
1 parent 160a3ae commit 40f418f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

lib/jblond/Diff/ConstantsInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface ConstantsInterface
2727
*/
2828
public const DIFF_IGNORE_LINE_EMPTY = 1;
2929
/**
30-
* Flag to ignore blank lines. (Lines which contain no or only non printable characters.)
30+
* Flag to ignore blank lines. (Lines which contain no or only non-printable characters.)
3131
*/
3232
public const DIFF_IGNORE_LINE_BLANK = 2;
3333
}

lib/jblond/Diff/Renderer/MainRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ private function appendChangesArray(array &$blocks, string $tag, int $lineInOld,
429429
}
430430

431431
/**
432-
* Format a series of strings which are suitable for output in a HTML rendered diff.
432+
* Format a series of strings which are suitable for output in an HTML rendered diff.
433433
*
434434
* This involves replacing tab characters with spaces, making the HTML safe for output by ensuring that double
435435
* spaces are replaced with   etc.

lib/jblond/Diff/SequenceMatcher.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ class SequenceMatcher implements ConstantsInterface
5151
*/
5252
private $b2j = [];
5353
/**
54-
* @var array A list of all of the op-codes for the differences between the compared strings.
54+
* @var array A list of all the op-codes for the differences between the compared strings.
5555
*/
5656
private $opCodes;
5757

5858
/**
59-
* @var array A nested set of arrays for all of the matching sub-sequences the compared strings.
59+
* @var array A nested set of arrays for all the matching sub-sequences the compared strings.
6060
*/
6161
private $matchingBlocks;
6262

@@ -623,8 +623,8 @@ private function isBJunk(string $bString): bool
623623
/**
624624
* Check if the two lines at the given indexes are different or not.
625625
*
626-
* @param int $aIndex Line number to check against in a.
627-
* @param int $bIndex Line number to check against in b.
626+
* @param int $aIndex Number of line to check against in A.
627+
* @param int $bIndex Number of line to check against in B.
628628
*
629629
* @return bool True if the lines are different and false if not.
630630
*/

lib/jblond/Diff/Similarity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function setSeq2($version2): void
7171
public function getSimilarity(int $type = self::CALC_DEFAULT): float
7272
{
7373
if ($this->options['ignoreLines']) {
74-
// Backup original sequences and filter non blank lines.
74+
// Backup original sequences and filter non-blank lines.
7575
$this->stripLines();
7676
}
7777

0 commit comments

Comments
 (0)