Fix several instances of doubled words

One in an exception; the rest in docblocks.
This commit is contained in:
John Bafford 2013-05-26 14:42:07 -04:00
parent e9f43bf675
commit 52fed7b1d2
4 changed files with 4 additions and 4 deletions

View File

@ -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')
));
}

View File

@ -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)
{

View File

@ -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.

View File

@ -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)
{