Removed check for instantiated options array
This commit is contained in:
parent
db5274113a
commit
553086ae3d
@ -163,9 +163,6 @@ class FieldBuilder
|
||||
*/
|
||||
public function option($name, $value)
|
||||
{
|
||||
if ( ! array_key_exists('options', $this->mapping)) {
|
||||
$this->mapping['options'] = array();
|
||||
}
|
||||
$this->mapping['options'][$name] = $value;
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user