Update dhii\module-interface

This commit is contained in:
dinamiko 2021-01-13 15:28:08 +01:00 committed by Jorge A. Torres
parent 1711628cf7
commit d8817134a9
10 changed files with 12 additions and 10 deletions

View file

@ -44,7 +44,7 @@ class SubscriptionModule implements ModuleInterface {
*
* @param ContainerInterface|null $container The container.
*/
public function run( ContainerInterface $container = null ) {
public function run( ContainerInterface $container ) {
add_action(
'woocommerce_scheduled_subscription_payment_' . PayPalGateway::ID,
function ( $amount, $order ) use ( $container ) {