mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add missing return type
This commit is contained in:
parent
117e3f54be
commit
c6b5948499
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class PaymentsFactory
|
|||
$this->authorizationsFactory = $authorizationsFactory;
|
||||
}
|
||||
|
||||
public function fromPayPalResponse(\stdClass $data)
|
||||
public function fromPayPalResponse(\stdClass $data): Payments
|
||||
{
|
||||
$authorizations = array_map(
|
||||
function (\stdClass $authorization): Authorization {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue