-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
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.
------ ---------------------------------------------------------------------------------
gocardless-pro-php/lib/Webhook.php
Line 25 in bae1786
| * @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.
Metadata
Metadata
Assignees
Labels
No labels