We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a2624 commit ef33028Copy full SHA for ef33028
src/Exception/InvalidUrlException.php
@@ -24,9 +24,9 @@ class InvalidUrlException extends InvalidArgumentException implements HttpCacheE
24
*/
25
public static function invalidUrl($url, $reason = null)
26
{
27
- $msg = sprintf('URL "%s" is invalid. ', $url);
+ $msg = sprintf('URL "%s" is invalid.', $url);
28
if ($reason) {
29
- $msg .= sprintf('Reason: %s', $reason);
+ $msg .= sprintf(' Reason: %s', $reason);
30
}
31
32
return new self($msg);
0 commit comments