8000 Fixed DefaultValue for session.auto_start in NodeDefinition · symfony/symfony@2ed30e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ed30e7

Browse files
franmomufabpot
authored andcommitted
Fixed DefaultValue for session.auto_start in NodeDefinition
This is just for consistency with the node type (Boolean)
1 parent 4f787fe commit 2ed30e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ private function addSessionSection(ArrayNodeDefinition $rootNode)
192192
->children()
193193
->booleanNode('auto_start')
194194
->info('DEPRECATED! Session starts on demand')
195-
->defaultNull()
195+
->defaultFalse()
196196
->beforeNormalization()
197197
->ifTrue(function($v) { return null !== $v; })
198198
->then(function($v) {

0 commit comments

Comments
 (0)
0