Skip to content

Commit 0f946a3

Browse files
committed
fix: review builder behavior
1 parent e3665aa commit 0f946a3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Core/Serialize/Builder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,12 @@ private function resolveParameters(Resolution $resolution, array $parameters, Se
8989
$parameter->getName(),
9090
];
9191
$resolved = (new ValidateValue(notation: $this->notation, path: $nestedPath))
92+
->then(new TypeMatched(notation: $this->notation, path: $nestedPath))
9293
->then(new DependencyValue(notation: $this->notation, path: $nestedPath))
9394
->then(new BackedEnumValue(notation: $this->notation, path: $nestedPath))
94-
->then(new TypeMatched(notation: $this->notation, path: $nestedPath))
9595
->then(new AttributeValue(notation: $this->notation, path: $nestedPath))
9696
->then(new CollectionValue(notation: $this->notation, path: $nestedPath))
97-
->then(new TypeMatched(notation: $this->notation, path: $nestedPath))
9897
->then(new FormatValue($this->notation, $this->formatters, $nestedPath))
99-
->then(new TypeMatched(notation: $this->notation, path: $nestedPath))
10098
->then(new NoValue(notation: $this->notation, path: $nestedPath))
10199
->resolve($parameter, $set);
102100

0 commit comments

Comments
 (0)