Skip to content

Commit

Permalink
Update src/Forms/CompositeField.php
Browse files Browse the repository at this point in the history
Co-authored-by: Guy Sartorelli <[email protected]>
  • Loading branch information
kinglozzer and GuySartorelli authored Feb 14, 2023
1 parent ee05f3f commit 7a451e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Forms/CompositeField.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,6 @@ public function validate($validator)
/** @var FormField $child */
$valid = ($child && $child->validate($validator) && $valid);
}
$this->extendValidationResult($valid, $validator);
return $valid;
return $this->extendValidationResult($valid, $validator);
}
}

0 comments on commit 7a451e8

Please sign in to comment.