Change case of OnboardingRestController class name

This commit is contained in:
Anton Ukhanev 2021-09-13 16:28:47 +02:00
parent 40b578309b
commit 9f2496ada0
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -16,7 +16,7 @@ use WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway;
/**
* Exposes and handles REST routes related to onboarding.
*/
class OnboardingRestController {
class OnboardingRESTController {
/**
* REST namespace.