@@ -46,17 +46,12 @@ class SequenceMatcher
4646 private $ b2j = [];
4747
4848 /**
49- * @var array
50- */
51- private $ options = [];
52-
53- /**
54- * @var null|array
49+ * @var array A list of all of the op-codes for the differences between the compared strings.
5550 */
5651 private $ opCodes ;
5752
5853 /**
59- * @var null| array
54+ * @var array A nested set of arrays for all of the matching sub-sequences the compared strings.
6055 */
6156 private $ matchingBlocks ;
6257
@@ -72,9 +67,8 @@ class SequenceMatcher
7267 ];
7368
7469 /**
75- * The constructor. With the sequences being passed, they'll be set for the
76- * sequence matcher and it will perform a basic cleanup & calculate junk
77- * elements.
70+ * The constructor. With the sequences being passed, they'll be set for the sequence matcher and it will perform a
71+ * basic cleanup & calculate junk elements.
7872 *
7973 * @param string|array $old A string or array containing the lines to compare against.
8074 * @param string|array $new A string or array containing the lines to compare.
@@ -295,11 +289,9 @@ public function getGroupedOpCodes(): array
295289 }
296290
297291 /**
298- * Return a list of all of the op codes for the differences between the
299- * two strings.
292+ * Return a list of all of the op codes for the differences between the two strings.
300293 *
301- * The nested array returned contains an array describing the op code
302- * which includes:
294+ * The nested array returned contains an array describing the op code which includes:
303295 * 0 - The type of tag (as described below) for the op code.
304296 * 1 - The beginning line in the first sequence.
305297 * 2 - The end line in the first sequence.
@@ -366,12 +358,10 @@ public function getOpCodes(): array
366358 }
367359
368360 /**
369- * Return a nested set of arrays for all of the matching sub-sequences
370- * in the strings $a and $b.
361+ * Return a nested set of arrays for all of the matching sub-sequences in compared strings $a and $b.
371362 *
372- * Each block contains the lower constraint of the block in $a, the lower
373- * constraint of the block in $b and finally the number of lines that the
374- * block continues for.
363+ * Each block contains the lower constraint of the block in $a, the lower constraint of the block in $b and finally
364+ * the number of lines that the block continues for.
375365 *
376366 * @return array Nested array of the matching blocks, as described by the function.
377367 */
0 commit comments