Skip to content

Commit

Permalink
Replace missing message parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannik Zschiesche committed Jul 10, 2019
1 parent d3c17f2 commit a68d759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpClient/HttpClientTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private static function mergeDefaultOptions(array $options, array $defaultOption
}

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))));
Expand Down

0 comments on commit a68d759

Please sign in to comment.