sumup / sumup-ecom-php-sdk

SumUp eCom PHP SDK
Other
41 stars 18 forks source link

Error if wrong grant_type #40

Open gartner opened 1 year ago

gartner commented 1 year ago

In setGrantType() method of class SumUp\Application\ApplicationConfiguration, if you pass an invalid granttype, an exception is thrown. But, you will get a TypeError instead of the expected exception, since the call to implode() is not valid for php 8: The separator is passed after the array, which was only valid up until php 7.

multikitty commented 1 year ago

Hi, gatner! Could you help me to solve #39 ?