1
0
mirror of synced 2025-01-09 18:47:10 +03:00

Removed check for instantiated options array

This commit is contained in:
Adam Pancutt 2013-10-15 13:17:07 +01:00
parent db5274113a
commit 553086ae3d

View File

@ -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;
}