8000 Fix configurations info consistency · symfony/twig-bundle@760e075 · GitHub
[go: up one dir, main page]

Skip to content

Commit 760e075

Browse files
Fix configurations info consistency
1 parent d299942 commit 760e075

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

DependencyInjection/Configuration.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ private function addTwigOptions(ArrayNodeDefinition $rootNode): void
141141
->scalarNode('auto_reload')->end()
142142
->integerNode('optimizations')->min(-1)->end()
143143
->scalarNode('default_path')
144-
->info('The default path used to load templates')
144+
->info('The default path used to load templates.')
145145
->defaultValue('%kernel.project_dir%/templates')
146146
->end()
147147
->arrayNode('file_name_pattern')
148148
->example('*.twig')
149-
->info('Pattern of file name used for cache warmer and linter')
149+
->info('Pattern of file name used for cache warmer and linter.')
150150
->beforeNormalization()
151151
->ifString()
152152
->then(fn ($value) => [$value])
@@ -190,19 +190,19 @@ private function addTwigFormatOptions(ArrayNodeDefinition $rootNode): void
190190
$rootNode
191191
->children()
192192
->arrayNode('date')
193-
->info('The default format options used by the date filter')
193+
->info('The default format options used by the date filter.')
194194
->addDefaultsIfNotSet()
195195
->children()
196196
->scalarNode('format')->defaultValue('F j, Y H:i')->end()
197197
->scalarNode('interval_format')->defaultValue('%d days')->end()
198198
->scalarNode('timezone')
199-
->info('The timezone used when formatting dates, when set to null, the timezone returned by date_default_timezone_get() is used')
199+
->info('The timezone used when formatting dates, when set to null, the timezone returned by date_default_timezone_get() is used.')
200200
->defaultNull()
201201
->end()
202202
->end()
203203
->end()
204204
->arrayNode('number_format')
205-
->info('The default format options for the number_format filter')
205+
->info('The default format options for the number_format filter.')
206206
->addDefaultsIfNotSet()
207207
->children()
208208
->integerNode('decimals')->defaultValue(0)->end()
@@ -221,7 +221,7 @@ private function addMailerSection(ArrayNodeDefinition $rootNode): void
221221
->arrayNode('mailer')
222222
->children()
223223
->scalarNode('html_to_text_converter')
224-
->info(\sprintf('A service implementing the "%s"', HtmlToTextConverterInterface::class))
224+
->info(\sprintf('A service implementing the "%s".', HtmlToTextConverterInterface::class))
225225
->defaultNull()
226226
->end()
227227
->end()

0 commit comments

Comments
 (0)
0