Fix several instances of doubled words
One in an exception; the rest in docblocks.
This commit is contained in:
parent
e9f43bf675
commit
52fed7b1d2
@ -242,7 +242,7 @@ abstract class AbstractDoctrineExtension extends Extension
|
|||||||
if (!in_array($mappingConfig['type'], array('xml', 'yml', 'annotation', 'php', 'staticphp'))) {
|
if (!in_array($mappingConfig['type'], array('xml', 'yml', 'annotation', 'php', 'staticphp'))) {
|
||||||
throw new \InvalidArgumentException(sprintf('Can only configure "xml", "yml", "annotation", "php" or '.
|
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. '.
|
'"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')
|
'"%s" service definition.', $this->getObjectManagerElementName($objectManagerName.'.metadata_driver')
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -239,7 +239,7 @@ class OutputFormatter implements OutputFormatterInterface
|
|||||||
*
|
*
|
||||||
* @param string $text Input text
|
* @param string $text Input text
|
||||||
*
|
*
|
||||||
* @return string string Styled text
|
* @return string Styled text
|
||||||
*/
|
*/
|
||||||
private function applyCurrentStyle($text)
|
private function applyCurrentStyle($text)
|
||||||
{
|
{
|
||||||
|
@ -690,7 +690,7 @@ class Response
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the number of seconds after the time specified in the response's Date
|
* 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
|
* 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.
|
* back on an expires header. It returns null when no maximum age can be established.
|
||||||
|
@ -241,7 +241,7 @@ class Store implements StoreInterface
|
|||||||
* @param array $env1 A Request HTTP header array
|
* @param array $env1 A Request HTTP header array
|
||||||
* @param array $env2 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)
|
private function requestsMatch($vary, $env1, $env2)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user