Skip to content

Commit a173c86

Browse files
committed
Note
1 parent 46bbc33 commit a173c86

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Validator/Validator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function validate(
2222
mixed $data = null,
2323
string $scope = ''
2424
): bool {
25+
// @todo: Move this to the RequiredValidator class
2526
if ($this->isRequired($component)
2627
&& $this->isEmpty->execute($component, $data)
2728
&& false === $this->ajax->isAjax()) {

0 commit comments

Comments
 (0)