Skip to content

Commit

Permalink
more accurate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries committed Aug 2, 2018
1 parent 5f9769b commit 4887f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static function unique($table, $column = 'NULL')
}

/**
* Create a new Closure based required validation rule.
* Get a required_if constraint builder instance.
*
* @param \Closure $callback
* @return \Illuminate\Validation\Rules\RequiredIf
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Rules/RequiredIf.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RequiredIf
public $condition;

/**
* Create a new Closure based required validation rule.
* Create a new required validation rule based on a condition.
*
* @param bool|\Closure $condition
* @return void
Expand Down

0 comments on commit 4887f9f

Please sign in to comment.