We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9561f0f + 2c6d374 commit 149a308Copy full SHA for 149a308
src/Application/Shared/Constant.php
@@ -6,5 +6,5 @@
6
7
class Constant
8
{
9
- public const VERSION = '1.1.0';
+ public const VERSION = '1.2.1';
10
}
src/Domain/Definition/Schema/UseKeywordDefinitionSchema.php
@@ -30,6 +30,13 @@ public function getConfigTreeBuilder()
30
})
31
->end()
32
->arrayPrototype()
33
+ ->beforeNormalization()
34
+ ->ifTrue(static function($v) {
35
+ return !is_array($v);
36
+ })
37
+ ->then(static function($v){
38
+ return [SchemaKey::CLASS_NAME => $v, SchemaKey::AS => null];
39
+ })->end()
40
->children()
41
->scalarNode(SchemaKey::CLASS_NAME)->end()
42
->scalarNode(SchemaKey::AS)->defaultNull()->end()
0 commit comments