static function ( $container, array $fields ): array { $status_page_fields = array( 'webhooks-list' => array( 'title' => __( 'Registered webhooks', 'woocommerce-paypal-payments' ), 'type' => 'ppcp-table', 'screens' => array( State::STATE_PROGRESSIVE, State::STATE_ONBOARDED, ), 'requirements' => array(), 'gateway' => WebhooksStatusPage::ID, 'classes' => array( 'ppcp-webhooks-table' ), 'value' => function () use ( $container ) : array { return $container->get( 'webhook.status.registered-webhooks-data' ); }, ), ); return array_merge( $fields, $status_page_fields ); }, );