Skip to content

Commit

Permalink
bug #12489 Build fix Change int to string in GenerateCouponsCommand (…
Browse files Browse the repository at this point in the history
…Tomanhez)

This PR was merged into the 1.8 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.8
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.7 or 1.8 branch (the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->

<img width="1288" alt="Screenshot 2021-03-29 at 10 03 46" src="https://user-images.githubusercontent.com/39232096/112805613-194dc580-9076-11eb-9753-c89a03214a56.png">



Commits
-------

4791286 Change int to string
  • Loading branch information
GSadee committed Mar 29, 2021
2 parents 0733910 + 4791286 commit f486b80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function configure(): void
->setDescription('Generates coupons for a given promotion')
->addArgument('promotion-code', InputArgument::REQUIRED, 'Code of the promotion')
->addArgument('count', InputArgument::REQUIRED, 'Amount of coupons to generate')
->addOption('length', 'len', InputOption::VALUE_OPTIONAL, 'Length of the coupon code (default 10)', 10)
->addOption('length', 'len', InputOption::VALUE_OPTIONAL, 'Length of the coupon code (default 10)', '10')
;
}

Expand Down

0 comments on commit f486b80

Please sign in to comment.