Skip to content

Commit

Permalink
break
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Aug 5, 2024
1 parent 4ef73fe commit 6fccfd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Attribute/Parameter/CollectionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function getParameterValue(
try {
$collection[] = $context->getHydrator()->create($attribute->className, $item);
} catch (NonInstantiableException) {
continue;
break;

Check warning on line 41 in src/Attribute/Parameter/CollectionResolver.php

View workflow job for this annotation

GitHub Actions / mutation / PHP 8.3-ubuntu-latest

Escaped Mutant for Mutator "Break_": --- Original +++ New @@ @@ try { $collection[] = $context->getHydrator()->create($attribute->className, $item); } catch (NonInstantiableException) { - break; + continue; } } return Result::success($collection); } }
}
}

Expand Down

0 comments on commit 6fccfd3

Please sign in to comment.