From a3b0b7fbcb7a5294d4cf1e600be43434826f9fef Mon Sep 17 00:00:00 2001 From: Fred Myerscough Date: Tue, 30 Jun 2015 09:59:15 +0100 Subject: [PATCH] bugfix: moved closing bracket on UnexpectedValueException to prevent it throwing its own exception --- src/Symfony/Component/BrowserKit/Cookie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/BrowserKit/Cookie.php b/src/Symfony/Component/BrowserKit/Cookie.php index 424f78bab4f44..18b9324403091 100644 --- a/src/Symfony/Component/BrowserKit/Cookie.php +++ b/src/Symfony/Component/BrowserKit/Cookie.php @@ -77,7 +77,7 @@ public function __construct($name, $value, $expires = null, $path = null, $domai if (null !== $expires) { $timestampAsDateTime = \DateTime::createFromFormat('U', $expires); if (false === $timestampAsDateTime) { - throw new \UnexpectedValueException(sprintf('The cookie expiration time "%s" is not valid.'), $expires); + throw new \UnexpectedValueException(sprintf('The cookie expiration time "%s" is not valid.', $expires)); } $this->expires = $timestampAsDateTime->getTimestamp();