Skip to content

Commit 0fc0731

Browse files
authored
Update Register.php
1 parent 38f25eb commit 0fc0731

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Register.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
class Register extends \GatewayWorker\Register
55
{
6-
public function __construct($config)
6+
public function __construct($config = [])
77
{
88
$propertyMap = [
99
'secretKey',
@@ -39,4 +39,4 @@ public function onWorkerstart()
3939
$this->reusePort = false;
4040
}
4141

42-
}
42+
}

0 commit comments

Comments
 (0)