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
private function foreach_call_validator(string $rule, string $field, array $input, array $rule_params = []) { $values = !is_array($input[$field]) ? [ $input[$field] ] : $input[$field]; foreach ($values as $value) { $result = $this->call_validator($rule, $field, $input, $rule_params, $value); if (is_array($result)) { return $result; } } return true; }
can that solve the problem ?
$values = !is_array($input[$field]) ? [ $input[$field] ] : [$field => $input[$field]];
The text was updated successfully, but these errors were encountered:
what are your filters and what is your input? $filters / $data
Sorry, something went wrong.
No branches or pull requests
can that solve the problem ?
The text was updated successfully, but these errors were encountered: