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?
|
* @param string[mixed] $params An associative array for any params |
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