Skip to content

Commit

Permalink
Validator explodeRules param type in docblock [skip-ci] (#15838)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pe Ell authored and taylorotwell committed Oct 10, 2016
1 parent 5e92b05 commit 2fee918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Validation/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ protected function hydrateFiles(array $data, $arrayKey = null)
/**
* Explode the rules into an array of rules.
*
* @param string|array $rules
* @param array $rules
* @return array
*/
protected function explodeRules($rules)
protected function explodeRules(array $rules)
{
foreach ($rules as $key => $rule) {
if (Str::contains($key, '*')) {
Expand Down

0 comments on commit 2fee918

Please sign in to comment.