Fix DocBlock (#25027)
Documentation: https://laravel.com/docs/5.6/validation#conditionally-adding-rules Implementation: https://github.com/laravel/framework/blob/5.6/src/Illuminate/Validation/Validator.php#L818
This commit is contained in:
parent
f76fefb94f
commit
689e0874d6
|
@ -23,7 +23,7 @@ interface Validator extends MessageProvider
|
|||
/**
|
||||
* Add conditions to a given field based on a Closure.
|
||||
*
|
||||
* @param string $attribute
|
||||
* @param string|array $attribute
|
||||
* @param string|array $rules
|
||||
* @param callable $callback
|
||||
* @return $this
|
||||
|
|
Loading…
Reference in New Issue