mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Fix var type annotations in ButtonModule
This commit is contained in:
parent
a8e6ec070d
commit
8d37906b31
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ class ButtonModule implements ModuleInterface
|
|||
static function () use ($container) {
|
||||
$endpoint = $container->get('button.endpoint.approve-order');
|
||||
/**
|
||||
* @var ChangeCartEndpoint $endpoint
|
||||
* @var ApproveOrderEndpoint $endpoint
|
||||
*/
|
||||
$endpoint->handleRequest();
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ class ButtonModule implements ModuleInterface
|
|||
static function () use ($container) {
|
||||
$endpoint = $container->get('button.endpoint.create-order');
|
||||
/**
|
||||
* @var ChangeCartEndpoint $endpoint
|
||||
* @var CreateOrderEndpoint $endpoint
|
||||
*/
|
||||
$endpoint->handleRequest();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue