mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Fix php8 warnings
This commit is contained in:
parent
3926ae2d96
commit
f688ccdff0
5 changed files with 27 additions and 16 deletions
|
@ -52,7 +52,7 @@ class PaymentTokenRepositoryTest extends TestCase
|
|||
{
|
||||
$id = 1;
|
||||
$source = new \stdClass();
|
||||
$paymentToken = new PaymentToken('foo', 'PAYMENT_METHOD_TOKEN', $source);
|
||||
$paymentToken = new PaymentToken('foo', $source, 'PAYMENT_METHOD_TOKEN');
|
||||
|
||||
when('get_user_meta')->justReturn([]);
|
||||
$this->endpoint->shouldReceive('for_user')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue