From 52fed7b1d20974378beee2d268c57fb1e7d47e70 Mon Sep 17 00:00:00 2001 From: John Bafford Date: Sun, 26 May 2013 14:42:07 -0400 Subject: [PATCH] Fix several instances of doubled words One in an exception; the rest in docblocks. --- .../Doctrine/DependencyInjection/AbstractDoctrineExtension.php | 2 +- src/Symfony/Component/Console/Formatter/OutputFormatter.php | 2 +- src/Symfony/Component/HttpFoundation/Response.php | 2 +- src/Symfony/Component/HttpKernel/HttpCache/Store.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php index 00f6a40f2e..255f72c691 100644 --- a/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php +++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php @@ -242,7 +242,7 @@ abstract class AbstractDoctrineExtension extends Extension if (!in_array($mappingConfig['type'], array('xml', 'yml', 'annotation', 'php', 'staticphp'))) { throw new \InvalidArgumentException(sprintf('Can only configure "xml", "yml", "annotation", "php" or '. '"staticphp" through the DoctrineBundle. Use your own bundle to configure other metadata drivers. '. - 'You can register them by adding a a new driver to the '. + 'You can register them by adding a new driver to the '. '"%s" service definition.', $this->getObjectManagerElementName($objectManagerName.'.metadata_driver') )); } diff --git a/src/Symfony/Component/Console/Formatter/OutputFormatter.php b/src/Symfony/Component/Console/Formatter/OutputFormatter.php index 2e7219b6df..72949fe9bd 100644 --- a/src/Symfony/Component/Console/Formatter/OutputFormatter.php +++ b/src/Symfony/Component/Console/Formatter/OutputFormatter.php @@ -239,7 +239,7 @@ class OutputFormatter implements OutputFormatterInterface * * @param string $text Input text * - * @return string string Styled text + * @return string Styled text */ private function applyCurrentStyle($text) { diff --git a/src/Symfony/Component/HttpFoundation/Response.php b/src/Symfony/Component/HttpFoundation/Response.php index 08ffd4e997..0105c6f942 100644 --- a/src/Symfony/Component/HttpFoundation/Response.php +++ b/src/Symfony/Component/HttpFoundation/Response.php @@ -690,7 +690,7 @@ class Response /** * Returns the number of seconds after the time specified in the response's Date - * header when the the response should no longer be considered fresh. + * header when the response should no longer be considered fresh. * * First, it checks for a s-maxage directive, then a max-age directive, and then it falls * back on an expires header. It returns null when no maximum age can be established. diff --git a/src/Symfony/Component/HttpKernel/HttpCache/Store.php b/src/Symfony/Component/HttpKernel/HttpCache/Store.php index b2caff64cc..57197f662f 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/Store.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/Store.php @@ -241,7 +241,7 @@ class Store implements StoreInterface * @param array $env1 A Request HTTP header array * @param array $env2 A Request HTTP header array * - * @return Boolean true if the the two environments match, false otherwise + * @return Boolean true if the two environments match, false otherwise */ private function requestsMatch($vary, $env1, $env2) {