Skip to content

Commit

Permalink
Merge pull request #14 from phpspec/php8-fix
Browse files Browse the repository at this point in the history
Fix optional arg for PHP8
  • Loading branch information
ciaranmcnulty authored Sep 18, 2020
2 parents 0464787 + 0bbc54c commit fc11561
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 fc11561

Please sign in to comment.