Fix the namespace of the RestApiControllerBase class (#49333)

* Fix the namespace of the RestApiControllerBase class

* Add changelog file
This commit is contained in:
Néstor Soriano 2024-07-10 14:10:03 +02:00 committed by GitHub
parent de9664f922
commit f1399c9d77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Fix the namespace of the RestApiControllerBase class

View File

@ -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.

View File

@ -1,6 +1,6 @@
<?php
namespace Automattic\WooCommerce\Internal\ReceiptRendering;
namespace Automattic\WooCommerce\Internal;
use Automattic\WooCommerce\Internal\RegisterHooksInterface;
use Automattic\WooCommerce\Utilities\StringUtil;