mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Fix phpcs
This commit is contained in:
parent
cce8ee9d8d
commit
5a4a43e046
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class WebhookModule implements ModuleInterface {
|
|||
|
||||
try {
|
||||
$webhooks = $container->get( 'webhook.status.registered-webhooks' );
|
||||
$state = $container->get( 'onboarding.state' );
|
||||
$state = $container->get( 'onboarding.state' );
|
||||
if ( empty( $webhooks ) && $state->current_state() >= State::STATE_ONBOARDED ) {
|
||||
$registrar = $container->get( 'webhook.registrar' );
|
||||
assert( $registrar instanceof WebhookRegistrar );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue