mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #938 from woocommerce/PCP-946-multiple-php-warnings-php-8
Multiple PHP warnings (PHP8)
This commit is contained in:
commit
0c756c0667
5 changed files with 30 additions and 19 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