Commit 8df0dac5 authored by Guy Thouret's avatar Guy Thouret

(chore) More lints that got mised from last commit - #588

1 merge request!285Reward Factors for User Activity
Pipeline #79972098 failed with stages
in 5 minutes and 30 seconds
......@@ -24,8 +24,7 @@ class Manager
Save $save = null,
NotificationDelegate $notificationDelegate = null,
AccountInstance $accountInstance = null
)
{
) {
$this->save = $save ?: new Save();
$this->notificationDelegate = $notificationDelegate ?: new NotificationDelegate();
$this->accountInstance = $accountInstance ?: new AccountInstance();
......
......@@ -21,8 +21,7 @@ class Manager
CustomersManager $customersManager = null,
PaymentIntentInstance $paymentIntentInstance = null,
SetupIntentInstance $setupIntentInstance = null
)
{
) {
$this->customersManager = $customersManager ?? new CustomersManager;
$this->paymentIntentInstance = $paymentIntentInstance ?: new PaymentIntentInstance();
$this->setupIntentInstance = $setupIntentInstance ?: new SetupIntentInstance();
......
......@@ -128,7 +128,7 @@ class Manager
}
$urn = new Urn($id);
list($address, , ,) = explode('-', $urn->getNss());
list($address, , , ) = explode('-', $urn->getNss());
switch ($address) {
case "offchain":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment