Skip to content

Commit

Permalink
fix: Inject the faker generator to the OptionalValueResolver (#1187)
Browse files Browse the repository at this point in the history
Closes #1184.
  • Loading branch information
theofidry committed Apr 2, 2024
1 parent 47cc3db commit f05bd97
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@

<service id="nelmio_alice.generator.resolver.value.chainable.optional_value_resolver"
class="Nelmio\Alice\Generator\Resolver\Value\Chainable\OptionalValueResolver">
<argument type="service" key="$faker" id="nelmio_alice.faker.generator" />
<tag name="nelmio_alice.generator.resolver.value.chainable_resolver" />
</service>

Expand Down

0 comments on commit f05bd97

Please sign in to comment.