diff --git a/src/Symfony/Component/HttpKernel/HttpCache/Store.php b/src/Symfony/Component/HttpKernel/HttpCache/Store.php index 10725c4089..4f4564d86b 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/Store.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/Store.php @@ -151,7 +151,7 @@ class Store $digest = 'en'.sha1($response->getContent()); if (false === $this->save($digest, $response->getContent())) { - throw new \RuntimeException(sprintf('Unable to store the entity.')); + throw new \RuntimeException('Unable to store the entity.'); } $response->headers->set('X-Content-Digest', $digest); @@ -180,7 +180,7 @@ class Store array_unshift($entries, array($storedEnv, $headers)); if (false === $this->save($key, serialize($entries))) { - throw new \RuntimeException(sprintf('Unable to store the metadata.')); + throw new \RuntimeException('Unable to store the metadata.'); } return $key;