mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Now using modularity standard v0.3
This is the newest release, and is the first one that is compatible with PHP 8. Other changes are BC-breaking, but very very minor.
This commit is contained in:
parent
cabcb7d9e4
commit
69d9631a73
19 changed files with 29 additions and 67 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue