Skip to content
Permalink
Browse files

Fix type resulting in multipleOptions param being ignored

  • Loading branch information...
coryjthompson committed Jan 22, 2017
1 parent a7645d6 commit 68a90fdc3221c6b06166898a057f4e3dc3b8ad98
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Validation/Validator.php
@@ -1558,7 +1558,7 @@ public function isArray($field, $message = null, $when = null)
public function multipleOptions($field, array $options = [], $message = null, $when = null)
{
$extra = array_filter(['on' => $when, 'message' => $message]);
$caseInsensitive = isset($options['caseInsenstive']) ? $options['caseInsensitive'] : false;
$caseInsensitive = isset($options['caseInsensitive']) ? $options['caseInsensitive'] : false;
unset($options['caseInsensitive']);
return $this->add($field, 'multipleOptions', $extra + [

0 comments on commit 68a90fd

Please sign in to comment.
You can’t perform that action at this time.