Skip to content

Commit 96e1076

Browse files
committed
[HttpClient] add final dot + xml fix
1 parent 88cb4f6 commit 96e1076

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode)
13951395
->info('A list of SSL/TLS ciphers separated by colons, commas or spaces (e.g. "RC3-SHA:TLS13-AES-128-GCM-SHA256"...)')
13961396
->end()
13971397
->scalarNode('buffer')
1398-
->info('Whether the response content should be buffered or a regex telling which content-types should be')
1398+
->info('Whether the response content should be buffered or a regex telling which content-types should be.')
13991399
->validate()
14001400
->ifTrue(function ($v) { return !\is_bool($v) && (!\is_string($v) || false === @preg_match($v, '')); })
14011401
->thenInvalid('Buffer option should be a boolean or a valid regex')
@@ -1538,7 +1538,7 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode)
15381538
->info('A list of SSL/TLS ciphers separated by colons, commas or spaces (e.g. "RC3-SHA:TLS13-AES-128-GCM-SHA256"...)')
15391539
->end()
15401540
->scalarNode('buffer')
1541-
->info('Whether the response content should be buffered or a regex telling which content-types should be')
1541+
->info('Whether the response content should be buffered or a regex telling which content-types should be.')
15421542
->validate()
15431543
->ifTrue(function ($v) { return !\is_bool($v) && (!\is_string($v) || false === @preg_match($v, '')); })
15441544
->thenInvalid('Buffer option should be a boolean or a valid regex')

src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -534,11 +534,7 @@
534534
<xsd:attribute name="local-pk" type="xsd:string" />
535535
<xsd:attribute name="passphrase" type="xsd:string" />
536536
<xsd:attribute name="ciphers" type="xsd:string" />
537-
<xsd:attribute name="buffer">
538-
<xsd:simpleType>
539-
<xsd:union memberTypes="xsd:string xsd:boolean" />
540-
</xsd:simpleType>
541-
</xsd:attribute>
537+
<xsd:attribute name="buffer" type="xsd:string" />
542538
</xsd:complexType>
543539

544540
<xsd:complexType name="fingerprint">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy