Fix types for transaction events and responses #65
Annotations
10 errors
Static Analysis:
src/Client.php#L236
Method Sebdesign\VivaPayments\Client::withEnvironment() throws checked exception TypeError but it's missing from the PHPDoc @throws tag.
|
Static Analysis:
src/Client.php#L236
Method Sebdesign\VivaPayments\Client::withEnvironment() throws checked exception ValueError but it's missing from the PHPDoc @throws tag.
|
Static Analysis:
src/Events/WebhookEvent.php#L32
Method Sebdesign\VivaPayments\Events\WebhookEvent::create() throws checked exception TypeError but it's missing from the PHPDoc @throws tag.
|
Static Analysis:
src/Events/WebhookEvent.php#L32
Method Sebdesign\VivaPayments\Events\WebhookEvent::create() throws checked exception ValueError but it's missing from the PHPDoc @throws tag.
|
Static Analysis:
src/Services/Card.php#L37
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
|
Static Analysis:
src/Services/ISV/Order.php#L37
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
|
Static Analysis:
src/Services/Order.php#L38
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
|
Static Analysis:
tests/Functional/Services/ISV/OrderTest.php#L32
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
|
Static Analysis:
tests/Functional/Services/ISV/OrderTest.php#L33
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
|
Static Analysis:
tests/Functional/Services/ISV/OrderTest.php#L46
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
|