Skip to content

Commit 962623d

Browse files
committed
Fix phpdoc and return type
1 parent 550312a commit 962623d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/jblond/Diff/SequenceMatcher.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ public function setSeq1($version1): void
150150
*
151151
* Also resets internal caches to indicate that, when calling the calculation methods, we need to recalculate them.
152152
*
153-
* @param string|array|void $version2 The sequence to set as the second sequence.
153+
* @param string|array $version2 The sequence to set as the second sequence.
154+
* @return void
154155
*/
155-
public function setSeq2($version2)
156+
public function setSeq2($version2): void
156157
{
157158
if (!is_array($version2)) {
158159
$version2 = str_split($version2);

0 commit comments

Comments
 (0)