Skip to content

Commit 498f9d7

Browse files
committed
remove default null value for asset version
Setting `null` as the version of a package means that it uses the empty version strategy. However, omitting the `version` option entirely was meant to fall back to the default version strategy. This is not possible when the default version value is `null` as there is no way to remove it.
1 parent 5376f71 commit 498f9d7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,6 @@ private function addAssetsSection(ArrayNodeDefinition $rootNode)
558558
->fixXmlConfig('base_url')
559559
->children()
560560
->scalarNode('version')
561-
->defaultNull()
562561
->beforeNormalization()
563562
->ifTrue(function ($v) { return '' === $v; })
564563
->then(function ($v) { return; })

0 commit comments

Comments
 (0)