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

private const Array (request to change to public) #301

Closed
marabucz opened this issue Mar 9, 2023 · 0 comments
Closed

private const Array (request to change to public) #301

marabucz opened this issue Mar 9, 2023 · 0 comments

Comments

@marabucz
Copy link

marabucz commented Mar 9, 2023

Is it possible to make const Array a public one

private const Array = 'array';

It doesn't really make a sense to me as you are defining const Array to be a string array and then compare to it - but at

return $returnType === self::Array
you are basically focing us to call $form->getValues('array') instead of $form->getValues(Container::Array)

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

No branches or pull requests

1 participant