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.
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.