We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please consider the following code from ValidatiorHandler:
ValidatiorHandler
private function getInputFilter($inputFilterService) { $inputFilter = $this->inputFilterManager->get($inputFilterService); if (! $inputFilter instanceof InputFilter) { throw new ValidationClassNotExists( sprintf( 'Listed input filter "%s" does not exist; cannot validate request', $inputFilterService ) ); } return $this->inputFilterManager->get($inputFilterService); }
In the return statement, there's no need to get the input filter again from the manager. We can just return $inputFilter.
return
$inputFilter
The text was updated successfully, but these errors were encountered:
Bugfixes:
32c41f5
1. mvlabs#15 2. $inputFilter->getInvalidInput() can return instance of InputFilterInterface, which doesn't implement getName()
No branches or pull requests
Please consider the following code from
ValidatiorHandler
:In the
return
statement, there's no need to get the input filter again from the manager. We can just return$inputFilter
.The text was updated successfully, but these errors were encountered: