You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's been a while since I used form for anything other than regular associative arrays, but given forms can be bound to objects too - it's also feasible that forms could be annotated to return models too, such as:
Psalm output (using commit baa6d5d):
INFO: Trace - 72:25 - $foo: non-empty-string
INFO: UnusedVariable - 70:1 - $foo is never referenced or the value is not used
Feature Request
Summary
With laminas/laminas-inputfilter#91 landing in input-filter, it'll be easier to annotate forms with something like:
It's been a while since I used form for anything other than regular associative arrays, but given forms can be bound to objects too - it's also feasible that forms could be annotated to return models too, such as:
The patch in InputFilter helps because users will be able to do something like the following:
The text was updated successfully, but these errors were encountered: