Fix phpcs

This commit is contained in:
Emili Castells Guasch 2023-03-02 14:35:30 +01:00
parent cce8ee9d8d
commit 5a4a43e046

View file

@ -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 );