Skip to content

Commit b345930

Browse files
authored
Merge pull request #140 from stof/fix_message
Fix the message about incompatible features
2 parents 19a303a + ee07d91 commit b345930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private function configureClients(ArrayNodeDefinition $root)
163163
// Make sure we only allow one of these to be true
164164
return (bool) $config['flexible_client'] + (bool) $config['http_methods_client'] + (bool) $config['batch_client'] >= 2;
165165
})
166-
->thenInvalid('A http client can\'t be decorated with both FlexibleHttpClient and HttpMethodsClient. Only one of the following options can be true. ("flexible_client", "http_methods_client", "batch_client")')
166+
->thenInvalid('A http client can\'t be decorated with several of FlexibleHttpClient, HttpMethodsClient and BatchClient. Only one of the following options can be true. ("flexible_client", "http_methods_client", "batch_client")')
167167
->end()
168168
->children()
169169
->scalarNode('factory')

0 commit comments

Comments
 (0)