Skip to content

Commit

Permalink
Merge pull request #57 from yapsr/master
Browse files Browse the repository at this point in the history
Added sixth parameter for FormBuilder::select, required for Laravel 5.5
  • Loading branch information
nthachus authored Feb 24, 2018
2 parents 898834e + 82cbfbb commit 20038e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bllim/Laravalid/FormBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ public function textarea($name, $value = null, $options = [])
/**
* {@inheritdoc}
*/
public function select($name, $list = [], $selected = null, array $selectAttributes = [], array $optionsAttributes = [])
public function select($name, $list = [], $selected = null, array $selectAttributes = [], array $optionsAttributes = [], array $optgroupsAttributes = [])
{
$selectAttributes += $this->getValidationAttributes($name);

return parent::select($name, $list, $selected, $selectAttributes, $optionsAttributes);
return parent::select($name, $list, $selected, $selectAttributes, $optionsAttributes, $optgroupsAttributes);
}

/**
Expand Down

0 comments on commit 20038e4

Please sign in to comment.