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

Deprecated message in sfFormField #373

Closed
DavidGoodwin opened this issue Jun 13, 2024 · 1 comment
Closed

Deprecated message in sfFormField #373

DavidGoodwin opened this issue Jun 13, 2024 · 1 comment

Comments

@DavidGoodwin
Copy link
Contributor

Hi,

Optional parameter $parent declared before required parameter $value is implicitly treated as a required parameter in lib/form/sfFormField.class.php on line 44

public function __construct(sfWidgetForm $widget, ?sfFormField $parent = null, $name, $value, ?sfValidatorError $error = null)

I'm not sure what PHP's behavior is with this - should name+value be made optional, or should $parent not be optional?

Still it'd be nice to not see this being reported in our server logs ;-)

image

TIA

@DavidGoodwin
Copy link
Contributor Author

erk , duplicate of #365 ... ignore me.

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