Skip to content

Commit 9c46d1a

Browse files
committed
Bugs fixed
1 parent c6fe48b commit 9c46d1a

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,20 @@ public function getNodeDefinition(NodeDefinition $node)
3838
->info('A list of supported key encryption algorithms.')
3939
->useAttributeAsKey('name')
4040
->isRequired()
41-
->cannotBeEmpty()
4241
->requiresAtLeastOneElement()
4342
->scalarPrototype()->end()
4443
->end()
4544
->arrayNode('content_encryption_algorithms')
4645
->info('A list of supported content encryption algorithms.')
4746
->useAttributeAsKey('name')
4847
->isRequired()
49-
->cannotBeEmpty()
5048
->requiresAtLeastOneElement()
5149
->scalarPrototype()->end()
5250
->end()
5351
->arrayNode('compression_methods')
5452
->info('A list of supported compression methods.')
5553
->useAttributeAsKey('name')
5654
->defaultValue(['DEF'])
57-
->cannotBeEmpty()
5855
->requiresAtLeastOneElement()
5956
->scalarPrototype()->end()
6057
->end()

src/Bundle/JoseFramework/DependencyInjection/Source/Signature/AbstractSignatureSource.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public function getNodeDefinition(NodeDefinition $node)
3838
->info('A list of supported signature algorithms.')
3939
->useAttributeAsKey('name')
4040
->isRequired()
41-
->cannotBeEmpty()
4241
->requiresAtLeastOneElement()
4342
->scalarPrototype()->end()
4443
->end()

0 commit comments

Comments
 (0)