From b43ef7b2b7545fd18501a68202e5d54ee6decc67 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 21 Dec 2022 17:03:43 +0100 Subject: [PATCH] SelectElement: Remove zf1 compatibility Remove the `multiOptions` attribute --- src/FormElement/SelectElement.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/FormElement/SelectElement.php b/src/FormElement/SelectElement.php index e6b4f217..8dfb584e 100644 --- a/src/FormElement/SelectElement.php +++ b/src/FormElement/SelectElement.php @@ -226,13 +226,6 @@ protected function registerAttributeCallbacks(Attributes $attributes) [$this, 'setDisabledOptions'] ); - // ZF1 compatibility: - $this->getAttributes()->registerAttributeCallback( - 'multiOptions', - null, - [$this, 'setOptions'] - ); - $this->registerMultipleAttributeCallback($attributes); } }