Skip to content

Commit fc11561

Browse files
Merge pull request #14 from phpspec/php8-fix
Fix optional arg for PHP8
2 parents 0464787 + 0bbc54c commit fc11561

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)