Skip to content

Commit d52d9ae

Browse files
committed
merged branch jbafford/doubled-word-fixes (PR symfony#8144)
This PR was merged into the 2.1 branch. Discussion ---------- Fix several instances of doubled words | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a One correction to an exception; the rest in docblocks. Commits ------- 52fed7b Fix several instances of doubled words
2 parents e9f43bf + 52fed7b commit d52d9ae

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ protected function assertValidMappingConfiguration(array $mappingConfig, $object
242242
if (!in_array($mappingConfig['type'], array('xml', 'yml', 'annotation', 'php', 'staticphp'))) {
243243
throw new \InvalidArgumentException(sprintf('Can only configure "xml", "yml", "annotation", "php" or '.
244244
'"staticphp" through the DoctrineBundle. Use your own bundle to configure other metadata drivers. '.
245-
'You can register them by adding a a new driver to the '.
245+
'You can register them by adding a new driver to the '.
246246
'"%s" service definition.', $this->getObjectManagerElementName($objectManagerName.'.metadata_driver')
247247
));
248248
}

src/Symfony/Component/Console/Formatter/OutputFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private function createStyleFromString($string)
239239
*
240240
* @param string $text Input text
241241
*
242-
* @return string string Styled text
242+
* @return string Styled text
243243
*/
244244
private function applyCurrentStyle($text)
245245
{

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ public function setExpires(\DateTime $date = null)
690690

691691
/**
692692
* Returns the number of seconds after the time specified in the response's Date
693-
* header when the the response should no longer be considered fresh.
693+
* header when the response should no longer be considered fresh.
694694
*
695695
* First, it checks for a s-maxage directive, then a max-age directive, and then it falls
696696
* back on an expires header. It returns null when no maximum age can be established.

src/Symfony/Component/HttpKernel/HttpCache/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function invalidate(Request $request)
241241
* @param array $env1 A Request HTTP header array
242242
* @param array $env2 A Request HTTP header array
243243
*
244-
* @return Boolean true if the the two environments match, false otherwise
244+
* @return Boolean true if the two environments match, false otherwise
245245
*/
246246
private function requestsMatch($vary, $env1, $env2)
247247
{

0 commit comments

Comments
 (0)