Skip to content

Commit

Permalink
Fix optional arg for PHP8
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranmcnulty committed Sep 18, 2020
1 parent 0464787 commit 0bbc54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Diff/SequenceMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Diff_SequenceMatcher
* @param string|array $junkCallback Either an array or string that references a callback function (if there is one) to determine 'junk' characters.
* @param array $options
*/
public function __construct($a, $b, $junkCallback=null, $options)
public function __construct($a, $b, $junkCallback=null, $options=[])
{
$this->a = null;
$this->b = null;
Expand Down

0 comments on commit 0bbc54c

Please sign in to comment.