Replace missing message parameter

This commit is contained in:
Jannik Zschiesche 2019-07-10 10:33:22 +02:00
parent d3c17f2ade
commit a060642637
No known key found for this signature in database
GPG Key ID: 0E3F8E33FDFFF662

View File

@ -180,7 +180,7 @@ trait HttpClientTrait
}
if ('auth_ntlm' === $name) {
throw new InvalidArgumentException(sprintf('Option "%s" is not supported by %s, try using CurlHttpClient instead.', __CLASS__));
throw new InvalidArgumentException(sprintf('Option "auth_ntlm" is not supported by %s, try using CurlHttpClient instead.', __CLASS__));
}
throw new InvalidArgumentException(sprintf('Unsupported option "%s" passed to %s, did you mean "%s"?', $name, __CLASS__, implode('", "', $alternatives ?: array_keys($defaultOptions))));