From 767fb048fc2b748b849947e0ae36b3c9f4f903d0 Mon Sep 17 00:00:00 2001 From: Christopher Allford Date: Mon, 3 Aug 2020 14:00:14 -0700 Subject: [PATCH] Fixed comments with incorrect namespaces --- src/Container.php | 4 ++-- .../ServiceProviders/ProxiesServiceProvider.php | 2 +- src/Proxies/ActionsProxy.php | 2 +- src/Proxies/LegacyProxy.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Container.php b/src/Container.php index faae3e8a672..7d7a14738f3 100644 --- a/src/Container.php +++ b/src/Container.php @@ -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 * 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 - * and those should go in the `src\Tools\DependencyManagement\ServiceProviders` folder unless there's a good reason + * Class registration should be done via service providers that inherit from Automattic\WooCommerce\Internal\DependencyManagement + * 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. */ final class Container implements \Psr\Container\ContainerInterface { diff --git a/src/Internal/DependencyManagement/ServiceProviders/ProxiesServiceProvider.php b/src/Internal/DependencyManagement/ServiceProviders/ProxiesServiceProvider.php index b864bda2e21..e260f60b482 100644 --- a/src/Internal/DependencyManagement/ServiceProviders/ProxiesServiceProvider.php +++ b/src/Internal/DependencyManagement/ServiceProviders/ProxiesServiceProvider.php @@ -12,7 +12,7 @@ use Automattic\WooCommerce\Proxies\LegacyProxy; 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 { diff --git a/src/Proxies/ActionsProxy.php b/src/Proxies/ActionsProxy.php index 7e5d583b8d6..fc058951c7e 100644 --- a/src/Proxies/ActionsProxy.php +++ b/src/Proxies/ActionsProxy.php @@ -12,7 +12,7 @@ namespace Automattic\WooCommerce\Proxies; * * 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 { diff --git a/src/Proxies/LegacyProxy.php b/src/Proxies/LegacyProxy.php index c110b686f92..5a3b2ba2734 100644 --- a/src/Proxies/LegacyProxy.php +++ b/src/Proxies/LegacyProxy.php @@ -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`). * Idempotent functions can be executed directly. * - * @package Automattic\WooCommerce\Tools\Proxies + * @package Automattic\WooCommerce\Proxies */ class LegacyProxy {