mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🎨 Minor code-style changes
This commit is contained in:
parent
4f61251ae7
commit
1bee5f1c46
4 changed files with 8 additions and 4 deletions
|
@ -110,7 +110,7 @@ class CommonRestEndpoint extends RestEndpoint {
|
|||
/**
|
||||
* Configure REST API routes.
|
||||
*/
|
||||
public function register_routes() {
|
||||
public function register_routes() : void {
|
||||
/**
|
||||
* GET /wp-json/wc/v3/wc_paypal/common
|
||||
*/
|
||||
|
|
|
@ -96,7 +96,7 @@ class OnboardingRestEndpoint extends RestEndpoint {
|
|||
/**
|
||||
* Configure REST API routes.
|
||||
*/
|
||||
public function register_routes() {
|
||||
public function register_routes() : void {
|
||||
/**
|
||||
* GET /wp-json/wc/v3/wc_paypal/onboarding
|
||||
*/
|
||||
|
|
|
@ -82,7 +82,7 @@ class RefreshFeatureStatusEndpoint extends RestEndpoint {
|
|||
/**
|
||||
* Configure REST API routes.
|
||||
*/
|
||||
public function register_routes() {
|
||||
public function register_routes() : void {
|
||||
/**
|
||||
* POST /wp-json/wc/v3/wc_paypal/refresh-feature-status
|
||||
*/
|
||||
|
|
|
@ -67,7 +67,11 @@ class WebhookSettingsEndpoint extends RestEndpoint {
|
|||
* @param WebhookRegistrar $webhook_registrar A service that allows resubscribing webhooks.
|
||||
* @param WebhookSimulation $webhook_simulation A service that allows webhook simulations.
|
||||
*/
|
||||
public function __construct( WebhookEndpoint $webhook_endpoint, WebhookRegistrar $webhook_registrar, WebhookSimulation $webhook_simulation ) {
|
||||
public function __construct(
|
||||
WebhookEndpoint $webhook_endpoint,
|
||||
WebhookRegistrar $webhook_registrar,
|
||||
WebhookSimulation $webhook_simulation
|
||||
) {
|
||||
$this->webhook_endpoint = $webhook_endpoint;
|
||||
$this->webhook_registrar = $webhook_registrar;
|
||||
$this->webhook_simulation = $webhook_simulation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue