Skip to content

Commit

Permalink
Bug/P#125533-validator-field-type (#990)
Browse files Browse the repository at this point in the history
* fix: remove string type for field keys on validator

* chore: remove space
  • Loading branch information
mmilawski authored Jan 28, 2025
1 parent 172e600 commit 78271ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ private function addLocaleToModelForText(DefaultValueModelText $pModel, string $
}

/**
* @param string $field
* @param string|int $field
* @param mixed $values
* @return mixed
*/
private function validateValues(string $field, $values)
private function validateValues($field, $values)
{
if ($field === 'Email') {
if (is_array($values)) {
Expand Down

0 comments on commit 78271ba

Please sign in to comment.