$customParams = $this->getAttributes( $allowedParams );
foreach ( $customParams as $name => $value ) {
$select->setAttribute( $name, $value );
$customParams = $this->getAttributes( $allowedParams );
foreach ( $customParams as $name => $value ) {
$select->setAttribute( $name, $value );
- $allowedParams = array( 'tabindex' );
- $attribs = $this->getAttributes( $allowedParams, array( 'tabindex' => 'tabIndex' ) );
+ $allowedParams = [ 'tabindex' ];
+ $attribs = $this->getAttributes( $allowedParams, [ 'tabindex' => 'tabIndex' ] );
'name' => $this->mName,
'id' => $this->mID,
'options' => $this->getOptionsOOUI(),
'value' => strval( $value ),
'disabled' => $disabled,
'name' => $this->mName,
'id' => $this->mID,
'options' => $this->getOptionsOOUI(),
'value' => strval( $value ),
'disabled' => $disabled,