Skip to content

Commit

Permalink
Update Register.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Jul 20, 2023
1 parent 38f25eb commit 0fc0731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class Register extends \GatewayWorker\Register
{
public function __construct($config)
public function __construct($config = [])
{
$propertyMap = [
'secretKey',
Expand Down Expand Up @@ -39,4 +39,4 @@ public function onWorkerstart()
$this->reusePort = false;
}

}
}

0 comments on commit 0fc0731

Please sign in to comment.