Skip to content

Commit

Permalink
Fixed another type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
woutersamaey committed Apr 4, 2023
1 parent 4c01675 commit 8f6c275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/BTCPay/BTCPayService.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ private function getConfigWithoutCache($path, $scope, $scopeId): ?string
$config[$row->getPath()] = $row->getValue();
}

return $config[$path];
return $config[$path] ?? null;
}

public function getInvoice(string $invoiceId, string $btcpayStoreId, int $magentoStoreId): \BTCPayServer\Result\Invoice
Expand Down

0 comments on commit 8f6c275

Please sign in to comment.