diff --git a/plugins/woocommerce/changelog/pr-49333 b/plugins/woocommerce/changelog/pr-49333 new file mode 100644 index 00000000000..7eabab1e53a --- /dev/null +++ b/plugins/woocommerce/changelog/pr-49333 @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix the namespace of the RestApiControllerBase class diff --git a/plugins/woocommerce/src/Internal/ReceiptRendering/ReceiptRenderingRestController.php b/plugins/woocommerce/src/Internal/ReceiptRendering/ReceiptRenderingRestController.php index 3674da31e7b..d871559c360 100644 --- a/plugins/woocommerce/src/Internal/ReceiptRendering/ReceiptRenderingRestController.php +++ b/plugins/woocommerce/src/Internal/ReceiptRendering/ReceiptRenderingRestController.php @@ -6,8 +6,8 @@ use Automattic\WooCommerce\Internal\TransientFiles\TransientFilesEngine; use \WP_REST_Server; use \WP_REST_Request; use \WP_Error; -use \InvalidArgumentException; use Automattic\WooCommerce\Internal\Traits\AccessiblePrivateMethods; +use Automattic\WooCommerce\Internal\RestApiControllerBase; /** * Controller for the REST endpoints associated to the receipt rendering engine. diff --git a/plugins/woocommerce/src/Internal/RestApiControllerBase.php b/plugins/woocommerce/src/Internal/RestApiControllerBase.php index a01fe7a682a..ca7921fcdf9 100644 --- a/plugins/woocommerce/src/Internal/RestApiControllerBase.php +++ b/plugins/woocommerce/src/Internal/RestApiControllerBase.php @@ -1,6 +1,6 @@