Fix: Remove unused sprintf() parameters
This commit is contained in:
parent
937c403f15
commit
c0dda8bd03
@ -68,7 +68,7 @@ final class DiscordTransport extends AbstractTransport
|
|||||||
$content = $message->getSubject();
|
$content = $message->getSubject();
|
||||||
|
|
||||||
if (\strlen($content) > 2000) {
|
if (\strlen($content) > 2000) {
|
||||||
throw new LogicException(sprintf('The subject length of "%s" transport must be less than 2000 characters.', __CLASS__, ChatMessage::class, get_debug_type($message)));
|
throw new LogicException(sprintf('The subject length of "%s" transport must be less than 2000 characters.', __CLASS__));
|
||||||
}
|
}
|
||||||
|
|
||||||
$endpoint = sprintf('https://%s/api/webhooks/%s/%s', $this->getEndpoint(), $this->webhookId, $this->token);
|
$endpoint = sprintf('https://%s/api/webhooks/%s/%s', $this->getEndpoint(), $this->webhookId, $this->token);
|
||||||
|
Reference in New Issue
Block a user