Fix php8 warnings

This commit is contained in:
dinamiko 2022-10-25 16:16:48 +02:00
parent 3926ae2d96
commit f688ccdff0
5 changed files with 27 additions and 16 deletions

View file

@ -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')