Skip to content

Commit

Permalink
[FrameworkBundle] Re-remove redundant name attribute from `default_co…
Browse files Browse the repository at this point in the history
…ntext`
  • Loading branch information
HypeMC committed Aug 11, 2024
1 parent a32ec54 commit 711af4e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,6 @@ private function addSerializerSection(ArrayNodeDefinition $rootNode, callable $e
->end()
->arrayNode('default_context')
->normalizeKeys(false)
->useAttributeAsKey('name')
->validate()
->ifTrue(fn () => $this->debug && class_exists(JsonParser::class))
->then(fn (array $v) => $v + [JsonDecode::DETAILED_ERROR_MESSAGES => true])
Expand Down

0 comments on commit 711af4e

Please sign in to comment.