diff --git a/modules/ppcp-admin-notices/composer.json b/modules/ppcp-admin-notices/composer.json index 88e9fbc19..697ef0137 100644 --- a/modules/ppcp-admin-notices/composer.json +++ b/modules/ppcp-admin-notices/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/ppcp-admin-notices/src/AdminNotices.php b/modules/ppcp-admin-notices/src/AdminNotices.php index 686ae4db6..5ff22d51c 100644 --- a/modules/ppcp-admin-notices/src/AdminNotices.php +++ b/modules/ppcp-admin-notices/src/AdminNotices.php @@ -20,9 +20,7 @@ use Psr\Container\ContainerInterface; class AdminNotices implements ModuleInterface { /** - * Sets up the module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -32,9 +30,7 @@ class AdminNotices implements ModuleInterface { } /** - * Runs the module. - * - * @param ContainerInterface $container The container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { add_action( diff --git a/modules/ppcp-api-client/composer.json b/modules/ppcp-api-client/composer.json index 97392f7fb..faa4f3d9c 100644 --- a/modules/ppcp-api-client/composer.json +++ b/modules/ppcp-api-client/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/ppcp-api-client/src/ApiModule.php b/modules/ppcp-api-client/src/ApiModule.php index bdc98924b..f2d35f742 100644 --- a/modules/ppcp-api-client/src/ApiModule.php +++ b/modules/ppcp-api-client/src/ApiModule.php @@ -20,9 +20,7 @@ use Psr\Container\ContainerInterface; class ApiModule implements ModuleInterface { /** - * Sets up the module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -32,9 +30,7 @@ class ApiModule implements ModuleInterface { } /** - * Runs the module. - * - * @param ContainerInterface $container The container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { add_action( diff --git a/modules/ppcp-button/composer.json b/modules/ppcp-button/composer.json index e8eaa90ca..0d818629d 100644 --- a/modules/ppcp-button/composer.json +++ b/modules/ppcp-button/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/ppcp-button/src/ButtonModule.php b/modules/ppcp-button/src/ButtonModule.php index 659183db8..5de8d712a 100644 --- a/modules/ppcp-button/src/ButtonModule.php +++ b/modules/ppcp-button/src/ButtonModule.php @@ -27,9 +27,7 @@ class ButtonModule implements ModuleInterface { /** - * Sets up the module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -39,9 +37,7 @@ class ButtonModule implements ModuleInterface { } /** - * Runs the module. - * - * @param ContainerInterface|null $container The Container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { diff --git a/modules/ppcp-onboarding/composer.json b/modules/ppcp-onboarding/composer.json index b2a10b9d8..a063dc01d 100644 --- a/modules/ppcp-onboarding/composer.json +++ b/modules/ppcp-onboarding/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/ppcp-onboarding/src/OnboardingModule.php b/modules/ppcp-onboarding/src/OnboardingModule.php index 7fdaf5d55..90126c93c 100644 --- a/modules/ppcp-onboarding/src/OnboardingModule.php +++ b/modules/ppcp-onboarding/src/OnboardingModule.php @@ -24,9 +24,7 @@ use Psr\Container\ContainerInterface; class OnboardingModule implements ModuleInterface { /** - * Sets up the module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -36,9 +34,7 @@ class OnboardingModule implements ModuleInterface { } /** - * Runs the module. - * - * @param ContainerInterface|null $container The container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { diff --git a/modules/ppcp-session/composer.json b/modules/ppcp-session/composer.json index 32313fe03..0a8325e93 100644 --- a/modules/ppcp-session/composer.json +++ b/modules/ppcp-session/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/ppcp-session/src/SessionModule.php b/modules/ppcp-session/src/SessionModule.php index b2c5a5aef..1cd7e198d 100644 --- a/modules/ppcp-session/src/SessionModule.php +++ b/modules/ppcp-session/src/SessionModule.php @@ -21,9 +21,7 @@ use Psr\Container\ContainerInterface; class SessionModule implements ModuleInterface { /** - * Sets up the module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -33,9 +31,7 @@ class SessionModule implements ModuleInterface { } /** - * Run the module. - * - * @param ContainerInterface|null $container The container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { add_action( diff --git a/modules/ppcp-subscription/composer.json b/modules/ppcp-subscription/composer.json index a27ad686a..b54dfb9a0 100644 --- a/modules/ppcp-subscription/composer.json +++ b/modules/ppcp-subscription/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/ppcp-subscription/src/SubscriptionModule.php b/modules/ppcp-subscription/src/SubscriptionModule.php index 5984ab988..0456971b3 100644 --- a/modules/ppcp-subscription/src/SubscriptionModule.php +++ b/modules/ppcp-subscription/src/SubscriptionModule.php @@ -28,9 +28,7 @@ use WooCommerce\PayPalCommerce\WcGateway\Exception\NotFoundException; class SubscriptionModule implements ModuleInterface { /** - * Setup the module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -40,9 +38,7 @@ class SubscriptionModule implements ModuleInterface { } /** - * Runs the module. - * - * @param ContainerInterface|null $container The container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { add_action( diff --git a/modules/ppcp-wc-gateway/composer.json b/modules/ppcp-wc-gateway/composer.json index 06bf37d24..c8a15a7d6 100644 --- a/modules/ppcp-wc-gateway/composer.json +++ b/modules/ppcp-wc-gateway/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/ppcp-wc-gateway/src/WcGatewayModule.php b/modules/ppcp-wc-gateway/src/WcGatewayModule.php index 981491351..8ae82940d 100644 --- a/modules/ppcp-wc-gateway/src/WcGatewayModule.php +++ b/modules/ppcp-wc-gateway/src/WcGatewayModule.php @@ -37,9 +37,7 @@ use Psr\Container\ContainerInterface; class WcGatewayModule implements ModuleInterface { /** - * Setup the module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -49,9 +47,7 @@ class WcGatewayModule implements ModuleInterface { } /** - * Runs the module. - * - * @param ContainerInterface|null $container The container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { $this->register_payment_gateways( $container ); diff --git a/modules/ppcp-webhooks/composer.json b/modules/ppcp-webhooks/composer.json index 69049e0c0..83dd73952 100644 --- a/modules/ppcp-webhooks/composer.json +++ b/modules/ppcp-webhooks/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/ppcp-webhooks/src/WebhookModule.php b/modules/ppcp-webhooks/src/WebhookModule.php index 24a765a08..6ba7ede7e 100644 --- a/modules/ppcp-webhooks/src/WebhookModule.php +++ b/modules/ppcp-webhooks/src/WebhookModule.php @@ -20,9 +20,7 @@ use Psr\Container\ContainerInterface; class WebhookModule implements ModuleInterface { /** - * Setup the Webhook module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -32,9 +30,7 @@ class WebhookModule implements ModuleInterface { } /** - * Run the Webhook module. - * - * @param ContainerInterface|null $container The Container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { add_action( diff --git a/modules/woocommerce-logging/composer.json b/modules/woocommerce-logging/composer.json index 6e25a57e6..ebe40607a 100644 --- a/modules/woocommerce-logging/composer.json +++ b/modules/woocommerce-logging/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0", "require": { "php": "^7.1 | ^8.0", - "dhii/module-interface": "^0.2.0-alpha1" + "dhii/module-interface": "^0.3.0-alpha1" }, "autoload": { "psr-4": { diff --git a/modules/woocommerce-logging/src/WooCommerceLoggingModule.php b/modules/woocommerce-logging/src/WooCommerceLoggingModule.php index 1d4da4899..0e677c7fa 100644 --- a/modules/woocommerce-logging/src/WooCommerceLoggingModule.php +++ b/modules/woocommerce-logging/src/WooCommerceLoggingModule.php @@ -20,9 +20,7 @@ use Psr\Container\ContainerInterface; class WooCommerceLoggingModule implements ModuleInterface { /** - * Setup the module. - * - * @return ServiceProviderInterface + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( @@ -32,9 +30,7 @@ class WooCommerceLoggingModule implements ModuleInterface { } /** - * Run the module. - * - * @param ContainerInterface $container The container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { } diff --git a/src/PluginModule.php b/src/PluginModule.php index ef622a978..51b560ae3 100644 --- a/src/PluginModule.php +++ b/src/PluginModule.php @@ -20,16 +20,14 @@ use Psr\Container\ContainerInterface; class PluginModule implements ModuleInterface { /** - * Sets the module up. + * {@inheritDoc} */ public function setup(): ServiceProviderInterface { return new ServiceProvider( array(), array() ); } /** - * Runs the module. - * - * @param ContainerInterface|null $container The Container. + * {@inheritDoc} */ public function run( ContainerInterface $container ): void { }