Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #16309 [Form] remove type check in FormRegistry::getType (Tobion)
This PR was merged into the 2.3 branch. Discussion ---------- [Form] remove type check in FormRegistry::getType | Q | A | ------------- | --- | Bug fix? | yes (consistency) | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - remove validation of `FormRegistry::getType` as `FormRegistry::hasType` does not validate either. So `hasType` currently triggers a PHP warning with a wrong argument. also developers do not work with the registry directly anyway but through the factory. and the factory already validates the value. So this validation is useless in reality. Commits ------- d37b9e6 [Form] remove validation of FormRegistry::getType as FormRegistry::hasType does not validate either
- Loading branch information
Showing
3 changed files
with
0 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters