Skip to content
New issue

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

fix: required_without rule logic in Validation class. #6589

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: change type mixed to string
  • Loading branch information
ping-yee committed Sep 29, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
mmarchini mary marchini
commit cb5d0450d570d7a9d637acaba951464b61577544
2 changes: 1 addition & 1 deletion system/Validation/StrictRules/Rules.php
Original file line number Diff line number Diff line change
@@ -302,7 +302,7 @@ public function required_with($str = null, ?string $fields = null, array $data =
*
* required_without[id,email]
*
* @param mixed $str
* @param string|null $str
* @param string|null $otherFields The param fields of required_without[].
* @param string|null $field This rule param fields aren't present, this field is required.
*/