Skip to content

Commit

Permalink
SelectElement: Remove zf1 compatibility
Browse files Browse the repository at this point in the history
Remove the `multiOptions` attribute
  • Loading branch information
sukhwinder33445 committed Nov 10, 2022
1 parent 39d983b commit dbb2eff
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/FormElement/SelectElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,6 @@ protected function registerAttributeCallbacks(Attributes $attributes)
[$this, 'setOptions']
);

// ZF1 compatibility:
$this->getAttributes()->registerAttributeCallback(
'multiOptions',
null,
[$this, 'setOptions']
);

$this->registerMultipleAttributeCallback($attributes);
}
}

0 comments on commit dbb2eff

Please sign in to comment.