From 9f2496ada0c2e3ca1e4d44d45cd958718911d1d5 Mon Sep 17 00:00:00 2001 From: Anton Ukhanev Date: Mon, 13 Sep 2021 16:28:47 +0200 Subject: [PATCH] Change case of `OnboardingRestController` class name --- modules/ppcp-onboarding/services.php | 6 +++--- ...rdingRestController.php => OnboardingRESTController.php} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename modules/ppcp-onboarding/src/{OnboardingRestController.php => OnboardingRESTController.php} (99%) diff --git a/modules/ppcp-onboarding/services.php b/modules/ppcp-onboarding/services.php index 333268302..3dad56fdf 100644 --- a/modules/ppcp-onboarding/services.php +++ b/modules/ppcp-onboarding/services.php @@ -19,7 +19,7 @@ use WooCommerce\PayPalCommerce\ApiClient\Helper\Cache; use WooCommerce\PayPalCommerce\Onboarding\Assets\OnboardingAssets; use WooCommerce\PayPalCommerce\Onboarding\Endpoint\LoginSellerEndpoint; use WooCommerce\PayPalCommerce\Onboarding\Render\OnboardingRenderer; -use WooCommerce\PayPalCommerce\Onboarding\OnboardingRestController; +use WooCommerce\PayPalCommerce\Onboarding\OnboardingRESTController; return array( 'api.sandbox-host' => static function ( ContainerInterface $container ): string { @@ -210,7 +210,7 @@ return array( $partner_referrals_sandbox ); }, - 'onboarding.rest' => static function( $container ) : OnboardingRestController { - return new OnboardingRestController( $container ); + 'onboarding.rest' => static function( $container ) : OnboardingRESTController { + return new OnboardingRESTController( $container ); }, ); diff --git a/modules/ppcp-onboarding/src/OnboardingRestController.php b/modules/ppcp-onboarding/src/OnboardingRESTController.php similarity index 99% rename from modules/ppcp-onboarding/src/OnboardingRestController.php rename to modules/ppcp-onboarding/src/OnboardingRESTController.php index fe65f29cf..9a5fae43a 100644 --- a/modules/ppcp-onboarding/src/OnboardingRestController.php +++ b/modules/ppcp-onboarding/src/OnboardingRESTController.php @@ -16,7 +16,7 @@ use WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway; /** * Exposes and handles REST routes related to onboarding. */ -class OnboardingRestController { +class OnboardingRESTController { /** * REST namespace.