Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/3286'
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/File/Upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ public function isValid($value, $file = null)

if (count($this->getMessages()) > 0) {
return false;
} else {
return true;
}

return true;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/StringLength.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ public function isValid($value)

if (count($this->getMessages())) {
return false;
} else {
return true;
}

return true;
}
}

0 comments on commit 08a322a

Please sign in to comment.