mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
downgrade dhii/module-interface to 0.1
This commit is contained in:
parent
c09e314baa
commit
ddd4f5ba09
11 changed files with 102 additions and 21 deletions
|
@ -35,9 +35,9 @@ class SessionModule implements ModuleInterface {
|
|||
/**
|
||||
* Run the module.
|
||||
*
|
||||
* @param ContainerInterface $container The container.
|
||||
* @param ContainerInterface|null $container The container.
|
||||
*/
|
||||
public function run( ContainerInterface $container ) {
|
||||
public function run( ContainerInterface $container = null ) {
|
||||
add_action(
|
||||
'woocommerce_init',
|
||||
function () use ( $container ) {
|
||||
|
@ -51,4 +51,12 @@ class SessionModule implements ModuleInterface {
|
|||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the key for the module.
|
||||
*
|
||||
* @return string|void
|
||||
*/
|
||||
public function getKey() {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue