8000 [FrameworkBundle] metadata_update_threshold default value must be an int · symfony/symfony@b7e7c46 · GitHub
[go: up one dir, main page]

Skip to content

Commit b7e7c46

Browse files
committed
[FrameworkBundle] metadata_update_threshold default value must be an int
1 parent dbf053b commit b7e7c46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ private function addSessionSection(ArrayNodeDefinition $rootNode)
492492
->scalarNode('gc_maxlifetime')->end()
493493
->scalarNode('save_path')->defaultValue('%kernel.cache_dir%/sessions')->end()
494494
->integerNode('metadata_update_threshold')
495-
->defaultValue('0')
495+
->defaultValue(0)
496496
->info('seconds to wait between 2 session metadata updates')
497497
->end()
498498
->end()

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ protected static function getBundleDefaultConfig()
235235
'cookie_samesite' => null,
236236
'gc_probability' => 1,
237237
'save_path' => '%kernel.cache_dir%/sessions',
238-
'metadata_update_threshold' => '0',
238+
'metadata_update_threshold' => 0,
239239
),
240240
'request' => array(
241241
'enabled' => false,

0 commit comments

Comments
 (0)
0