Hi,
I've been using the SDK today and it's been great, thank you.
However upon opening a PR and running PHPStan on the code, it's throwing the following error:
------ ---------------------------------------------------------------------------------
Line Http/Controllers/GoCardlessWebhookController.php
------ ---------------------------------------------------------------------------------
28 Parameter #2 $event of method
Grizzlyware\Cub\Invoicing\PaymentGatewayDrivers\GoCardlessDriver::handleEvent()
expects GoCardlessPro\Resources\Event,
GoCardlessPro\GoCardlessPro\Resources\Event given.
------ ---------------------------------------------------------------------------------
|
* @return GoCardlessPro\Resources\Event[] the events included in the |
I expect the same issue is true for the exception below it too. While IDEs can work around it, PHPStan is rightly complaining about it.
Hi,
I've been using the SDK today and it's been great, thank you.
However upon opening a PR and running PHPStan on the code, it's throwing the following error:
gocardless-pro-php/lib/Webhook.php
Line 25 in bae1786
I expect the same issue is true for the exception below it too. While IDEs can work around it, PHPStan is rightly complaining about it.