Skip to content

Commit ec67b3f

Browse files
authored
fix: fix argument resolver error (#5342)
1 parent c39c3e8 commit ec67b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/ArgumentResolver/PayloadArgumentResolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function resolve(Request $request, ArgumentMetadata $argument): iterable
6161
{
6262
if (interface_exists(ValueResolverInterface::class)) {
6363
if (!$this->supports($request, $argument)) {
64-
yield [];
64+
return [];
6565
}
6666
}
6767

0 commit comments

Comments
 (0)