Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #18400 Lower complexity of Form:isValid() (krzysiekpiasecki)
This PR was squashed before being merged into the 2.7 branch (closes #18400). Discussion ---------- Lower complexity of Form:isValid() | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Replace #18391 - use Yoda condition, - merge into 2.7 branch Why? - lower LOC - less return expressions - lower complexity - more readable comparison Commits ------- d583ec3 Lower complexity of Form:isValid()
- Loading branch information