You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating phpstan to version 1.7.1 it now gives an error for this usage: Parameter #1 $params of method GoCardlessPro\Services\PaymentsService::create() expects string, array<string, array<string, array<string, string>|int|string>> given.
I see that create method can receive array, string[mixed] $params An associative array for any params. But i guess phpstan sees only string. Will you consider to annotate your method differently?
After updating phpstan to version 1.7.1 it now gives an error for this usage:
Parameter #1 $params of method GoCardlessPro\Services\PaymentsService::create() expects string, array<string, array<string, array<string, string>|int|string>> given.
I see that create method can receive array,
string[mixed] $params An associative array for any params
. But i guess phpstan sees onlystring
. Will you consider to annotate your method differently?gocardless-pro-php/lib/Services/PaymentsService.php
Line 40 in 31116c4
The text was updated successfully, but these errors were encountered: