diff --git a/src/SumUp/Application/ApplicationConfiguration.php b/src/SumUp/Application/ApplicationConfiguration.php index 5f691b6..d0f5b7e 100644 --- a/src/SumUp/Application/ApplicationConfiguration.php +++ b/src/SumUp/Application/ApplicationConfiguration.php @@ -313,7 +313,7 @@ protected function setAppSecret($appSecret) protected function setGrantType($grantType) { if (!in_array($grantType, $this::GRANT_TYPES)) { - throw new SumUpConfigurationException('Invalid parameter for "grant_type". Allowed values are: ' . implode($this::GRANT_TYPES, ' | ') . '.'); + throw new SumUpConfigurationException('Invalid parameter for "grant_type". Allowed values are: ' . implode(' | ', $this::GRANT_TYPES) . '.'); } $this->grantType = $grantType; }