mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for static analysis
This commit is contained in:
parent
17872a3158
commit
2f1968c899
@ -394,8 +394,10 @@ class SquarePaymentDriver extends BaseDriver
|
|||||||
//getsubscriptionid here
|
//getsubscriptionid here
|
||||||
$subscription_id = $this->checkWebhooks();
|
$subscription_id = $this->checkWebhooks();
|
||||||
|
|
||||||
if(!$subscription_id)
|
if(!$subscription_id){
|
||||||
return nlog('No Subscription Found');
|
nlog('No Subscription Found');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$api_response = $this->square->getWebhookSubscriptionsApi()->testWebhookSubscription($subscription_id, $body);
|
$api_response = $this->square->getWebhookSubscriptionsApi()->testWebhookSubscription($subscription_id, $body);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user