Fixed comments with incorrect namespaces

This commit is contained in:
Christopher Allford 2020-08-03 14:00:14 -07:00
parent 1f59f7f798
commit 767fb048fc
4 changed files with 5 additions and 5 deletions

View File

@ -23,8 +23,8 @@ use Automattic\WooCommerce\Internal\DependencyManagement\ExtendedContainer;
* Classes in the `includes` directory should use the `wc_get_container` function to get the instance of the container when * Classes in the `includes` directory should use the `wc_get_container` function to get the instance of the container when
* they need to get an instance of a class from the `src` directory. * they need to get an instance of a class from the `src` directory.
* *
* Class registration should be done via service providers that inherit from Automattic\WooCommerce\Tools\DependencyManagement * Class registration should be done via service providers that inherit from Automattic\WooCommerce\Internal\DependencyManagement
* and those should go in the `src\Tools\DependencyManagement\ServiceProviders` folder unless there's a good reason * and those should go in the `src\Internal\DependencyManagement\ServiceProviders` folder unless there's a good reason
* to put them elsewhere. All the service provider class names must be in the `SERVICE_PROVIDERS` constant. * to put them elsewhere. All the service provider class names must be in the `SERVICE_PROVIDERS` constant.
*/ */
final class Container implements \Psr\Container\ContainerInterface { final class Container implements \Psr\Container\ContainerInterface {

View File

@ -12,7 +12,7 @@ use Automattic\WooCommerce\Proxies\LegacyProxy;
use Automattic\WooCommerce\Proxies\ActionsProxy; use Automattic\WooCommerce\Proxies\ActionsProxy;
/** /**
* Service provider for the classes in the Automattic\WooCommerce\Tools\Proxies namespace. * Service provider for the classes in the Automattic\WooCommerce\Proxies namespace.
*/ */
class ProxiesServiceProvider extends AbstractServiceProvider { class ProxiesServiceProvider extends AbstractServiceProvider {

View File

@ -12,7 +12,7 @@ namespace Automattic\WooCommerce\Proxies;
* *
* This class should be used instead of directly accessing the WordPress functions, to ease unit testing. * This class should be used instead of directly accessing the WordPress functions, to ease unit testing.
* *
* @package Automattic\WooCommerce\Tools\Proxies * @package Automattic\WooCommerce\Proxies
*/ */
class ActionsProxy { class ActionsProxy {

View File

@ -16,7 +16,7 @@ use \Psr\Container\ContainerInterface as Container;
* in the `includes` directory, unless a more specific proxy exists for the functionality at hand (e.g. `ActionsProxy`). * in the `includes` directory, unless a more specific proxy exists for the functionality at hand (e.g. `ActionsProxy`).
* Idempotent functions can be executed directly. * Idempotent functions can be executed directly.
* *
* @package Automattic\WooCommerce\Tools\Proxies * @package Automattic\WooCommerce\Proxies
*/ */
class LegacyProxy { class LegacyProxy {