Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'TypeError: SymfonyStyle::ask(): Argument #2 ($default) must be of type ?string, int given' #5690

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

DieterHolvoet
Copy link
Contributor

The default option argument of SymfonyStyle::ask() got a string typehint. For the Allowed number of values option in the field:create command we were passing an integer, which causes a TypeError.

@DieterHolvoet DieterHolvoet merged commit 7aa30e3 into drush-ops:12.x Jul 6, 2023
2 checks passed
@DieterHolvoet DieterHolvoet deleted the issue/typeerror-ask branch July 6, 2023 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant