mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Fix expected type
This commit is contained in:
parent
9d01e6c02f
commit
d1bd60b5a7
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@ class Payments
|
||||||
{
|
{
|
||||||
private $authorizations;
|
private $authorizations;
|
||||||
|
|
||||||
public function __construct(Authorization ...$authorizations)
|
/**
|
||||||
|
* @var Authorization[] $authorizations
|
||||||
|
*/
|
||||||
|
public function __construct(array $authorizations)
|
||||||
{
|
{
|
||||||
$this->authorizations = $authorizations;
|
$this->authorizations = $authorizations;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue