Skip to content

Commit 0bbc54c

Browse files
committed
Fix optional arg for PHP8
1 parent 0464787 commit 0bbc54c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Diff/SequenceMatcher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Diff_SequenceMatcher
8989
* @param string|array $junkCallback Either an array or string that references a callback function (if there is one) to determine 'junk' characters.
9090
* @param array $options
9191
*/
92-
public function __construct($a, $b, $junkCallback=null, $options)
92+
public function __construct($a, $b, $junkCallback=null, $options=[])
9393
{
9494
$this->a = null;
9595
$this->b = null;

0 commit comments

Comments
 (0)